git-svn should default to --repack

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

 



I was very surprised to find that git-svn does not in fact default to --repack. I firmly believe it should. Here's an example as to why it should.

I used git-svn to import a repository with 33000 revisions and about 7500 files. It took about 18 hours to import. When it was done, my .git folder had 242001 files that comprised 2.0GB. I ran `git gc -- agressive --prune` and let that sit overnight (I wish it was more verbose, it went for over an hour without printing anything), and that managed to compress the repo down to 334 files and 64MB.

Now I have to figure out how to delete the .git folder from my regular backups.

http://skitch.com/kballard/r7mn/results-of-git-gc-ono-macports-repo

--
Kevin Ballard
http://kevin.sb.org
kevin@xxxxxx
http://www.tildesoft.com


<<attachment: smime.p7s>>


[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]

  Powered by Linux