fedorahosted git repo too large

Todd Zullinger tmz at pobox.com
Wed Aug 6 03:44:18 UTC 2008


Yuan Yijun wrote:
> I just tried to download revisor git with this command "git pull
> http://git.fedorahosted.org/git/revisor master". I have to repeat
> 4-5 times since it breaks during downloading. The .git folder is
> about 58MB. After "git gc --aggressive" it becomes only 6MB.
> 
> Anyone please run gc on server?

Perhaps better would be repack.  There was a recent thread on the git
list and one of the developers pointed out an older mail from Linus
where he described gc --aggressive as "mostly dumb" and recommended
that using something like "repack -a -d -f --depth=250 --window=250"
instead.

http://article.gmane.org/gmane.comp.gcc.devel/94613

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rome did not create a great empire by having meetings, they did it by
killing all those who opposed them.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080805/ac9ad3a8/attachment.sig>


More information about the fedora-devel-list mailing list