Re: [git-users] Why the directory, through git clone, has less files of the older directory through git pull origin master?

2016-09-02 Thread edgaroliveira . dev
Hello,

So, this means which I can stay rested because this is normal! :)
This means if I delete my directory on pc1 or pc2 I won't lost any files. 
Because this difference on numbers of file it is refers archive which git 
created derivate of my commits and another action on git, rights?

Which I could see the difference on number of files isn't only .git 
directory. This means the git save files in another directory on tree of 
directory, right?

Thanks

sexta-feira, 2 de Setembro de 2016 às 23:29:25 UTC+1, Philip Oakley 
escreveu:
>
> This is normal.
>  
> The internal .git/  repository will have different levels of packing. The 
> clone will recieve a highly packed version, while the one you developed 
> will have internal loose files. These are internal features that should be 
> your tomorrows problem. 
>  
> Philip
>
> - Original Message - 
> *From:* edgaroli...@gmail.com  
> *To:* Git for human beings  
> *Sent:* Friday, September 02, 2016 8:42 PM
> *Subject:* [git-users] Why the directory, through git clone, has less 
> files of the older directory through git pull origin master?
>
> Hello everyone,
>
> I am a newbie on git. I was use the git more a less a week and I was 
> working in two different computer. I started work on pc1 and after I turned 
> pc2, where I clone the project repository, and now, after more a less 5 
> days of work, I came back to pc1. On pc1 I did "git pull origin master" and 
> git downloaded all stuffs and files from git repository for my pc1. But, 
> for analyze and secure I git clone to the same projecto but in different 
> folder. I compared this different folders and I discovered the different 
> number of the files in this folders.
>
> The structure is this:
>
> pc1
> repo_git_old -> 11281 files
> repo_git_new -> 7328 files (this is the same repository, but this is a new 
> clone)
>
> My questions is: Why the older directory have more files to the new 
> directory?
> First time I think this different reside in folder .git, maybe in .trash 
> folder. But I can't find this folder on my structure of repository.
>
> Well, I hope I can explain myself well,
> thanks
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to git-users+...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] Why the directory, through git clone, has less files of the older directory through git pull origin master?

2016-09-02 Thread Philip Oakley
This is normal.

The internal .git/  repository will have different levels of packing. The clone 
will recieve a highly packed version, while the one you developed will have 
internal loose files. These are internal features that should be your tomorrows 
problem. 

Philip
  - Original Message - 
  From: edgaroliveira@gmail.com 
  To: Git for human beings 
  Sent: Friday, September 02, 2016 8:42 PM
  Subject: [git-users] Why the directory, through git clone, has less files of 
the older directory through git pull origin master?


  Hello everyone,

  I am a newbie on git. I was use the git more a less a week and I was working 
in two different computer. I started work on pc1 and after I turned pc2, where 
I clone the project repository, and now, after more a less 5 days of work, I 
came back to pc1. On pc1 I did "git pull origin master" and git downloaded all 
stuffs and files from git repository for my pc1. But, for analyze and secure I 
git clone to the same projecto but in different folder. I compared this 
different folders and I discovered the different number of the files in this 
folders.

  The structure is this:

  pc1
  repo_git_old -> 11281 files
  repo_git_new -> 7328 files (this is the same repository, but this is a new 
clone)

  My questions is: Why the older directory have more files to the new directory?
  First time I think this different reside in folder .git, maybe in .trash 
folder. But I can't find this folder on my structure of repository.

  Well, I hope I can explain myself well,
  thanks


  -- 
  You received this message because you are subscribed to the Google Groups 
"Git for human beings" group.
  To unsubscribe from this group and stop receiving emails from it, send an 
email to git-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] response different in same version git on different computers

2016-09-02 Thread edgaroliveira . dev
Hello everyone,

I have git install on different pc, and on this pc I have different 
behavior on result of the command "git status". After did some git commit I 
do git status and have this two situation:


*PC1*[code]

On branch master
nothing to commit, working directory clean
[/code]


*PC2*[code]
On branch masterYour branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)
nothing to commit, working directory clean
[/code]

I would like have the same detail in response of the git in same machine. How 
can I fix this?
*Note:* the environment is the same, version git 2.7.4 and Lubuntu 16.04 LTS

thanks


-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] Why the directory, through git clone, has less files of the older directory through git pull origin master?

2016-09-02 Thread edgaroliveira . dev
Hello everyone,

I am a newbie on git. I was use the git more a less a week and I was 
working in two different computer. I started work on pc1 and after I turned 
pc2, where I clone the project repository, and now, after more a less 5 
days of work, I came back to pc1. On pc1 I did "git pull origin master" and 
git downloaded all stuffs and files from git repository for my pc1. But, 
for analyze and secure I git clone to the same projecto but in different 
folder. I compared this different folders and I discovered the different 
number of the files in this folders.

The structure is this:

pc1
repo_git_old -> 11281 files
repo_git_new -> 7328 files (this is the same repository, but this is a new 
clone)

My questions is: Why the older directory have more files to the new 
directory?
First time I think this different reside in folder .git, maybe in .trash 
folder. But I can't find this folder on my structure of repository.

Well, I hope I can explain myself well,
thanks

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] git repo bitmap creation

2016-09-02 Thread Arumuga
Hi Phiip,

Thanks a lot for the answer and suggestions. As you said, bitmap works with 
single pack file. I  am checking with Peff.

Regards,
Arumuga


On Friday, 2 September 2016 01:28:21 UTC+5:30, Philip Oakley wrote:
>
> - Original Message - 
>
> *From:* Arumuga  
> *To:* Git for human beings  
> *Sent:* Thursday, September 01, 2016 7:14 PM
> *Subject:* [git-users] git repo bitmap creation
>
> Hi Git Experts, 
>
> We have been exploring various ways to improve git cloning time, one among 
> them is using bitmap which is suppose to save time "counting objects".  but 
> i have problem creating bitmap since the repository contains 100's of pack 
> files. the bitmap file is not created when i use "git gc".
>
> I have the following entries in my .gitconfig.
>
> [pack]
> packSizeLimit = 10m
> writebitmaps = on
> writeBitmapHashCache = on
>
> If i just dont use "packSizeLimit = 10m", then bitmap is created just by 
> running git gc
>
> Can you please make me understand ?, What i understood is that the bitmap 
> is created when there is a single pack file, but if i split it into 
> multiple pack file, the bitmap generation fails with the warning
> "warning: disabling bitmap writing, as some objects are not being packed".
>  
>
> The bitmaps are designed (IIUC) specifically for the case of everything 
> being inside the one pack, which is the most optimal for finding the 
> objects. 
>  
> If you have many packs thaten the search can span the packs, but the bit 
> map does not, so has to give up.
>  
> It is worth exploring the git developers list at www.public-inbox.org/git 
> The primary author of the bitmaps code (again IIRC) was Jeff King (Peff), 
> so a quicj seach should come up with a much better explanation than my half 
> remembered, half understood reply ;-)
> --
> Philip
>  
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.