[Kde-scm-interest] Re: Trial run of the kdelibs git

Boyd Stephen Smith Jr. bss at iguanasuicide.net
Mon Dec 6 22:47:40 CET 2010


In <AANLkTim2sGNhhsJekbMH7ewhORmFRiD+gv4P0rhYOkzS at mail.gmail.com>, Ian Monroe 
wrote:
>2010/12/6 Thiago Macieira <thiago at kde.org>:
>> git-fast-import produces very poorly-packed repositories. Repacking is a
>> must to reduce the size.
>
>git gc --aggressive seem to do a great job. repacking on top of it...
>not so much.

From git-gc(1):
If the number of loose objects
exceeds the value of the gc.auto configuration variable, then all
loose objects are combined into a single pack using git repack -d
-l.
...
If the number of packs exceeds the value of gc.autopacklimit, then
existing packs (except those marked with a .keep file) are
consolidated into a single pack by using the -A option of git
repack.
...
The optional configuration variable gc.aggressiveWindow controls how
much time is spent optimizing the delta compression of the objects in
the repository when the --aggressive option is specified. The larger
the value, the more time is spent optimizing the delta compression. See
the documentation for the --window' option in git-repack(1) for more
details. This defaults to 250.

git gc --aggressive spends most of its time in git repack calls.  Still, using 
higher depth and/or window should shrink the packs and using lower depth 
and/or window should grow the packs.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss at iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20101206/61dd07e0/attachment.sig 


More information about the Kde-scm-interest mailing list