Re: git gc and git repack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, 6 Mar 2007, Sergio Callegari wrote:

> I am puzzled by a different behavior when doing housekeeping with git-gc and
> git-repack:
>
> [...] 
> Done counting 75 objects.
> [...]
>
> while git repack -a -d gives
> 
> Done counting 143 objects.
> 
> I suspect, this has to to with my repository using alternates... (in 
> fact git-gc and git-repack start behaving identically if I pass the -l 
> (local) option to repack...  can anyone confirm that this is the only 
> difference?

Yes. And if you look in git-gc, you'll see as to why: it uses the -l flag.

> Also can anybody confirm whether git repack -a -d actually includes in 
> the pack also _all_ the "borrowed" objects? I.e. if it is in fact a way 
> to convert a repository that borrows objects into one that is 
> self-standing?

Yes exactly.

Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]