Re: .git grows after git-gc?

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

 



On Tuesday 2007 April 24, Nicolas Pitre wrote:

Thank you for your thorough explanation.

>    Now when you repack, this parameter won't be used by default unless
>    you have repack.usedeltabaseoffset set to true in your config, which
>    will cause a small increase in pack size.

That sounds like it could easily be it.  I thought I had usedeltabaseoffset 
turned on ages ago; but it turns out (while investigating this strange 
behaviour) what I actually had turned on was "usedelatabaseoffset".

Doh!

> I think that (2) is the most probable cause of repack growth in your
> case.  Just try:
>
> 	git config --global repack.usedeltabaseoffset true
> 	git gc
>
> and you should get that 2MB back, possibly a bit more.

Strangely enough - I didn't - stayed at 97MB.  It's probably (1) then.

Thanks for your time.  You've helped me find a typo in my config even if I 
didn't get my 2MB back :-)


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@xxxxxxxxx
-
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]