Thread (11 messages) flat view 11 messages, 7 authors, 2016-06-15

Re: git repository size vs. subversion repository size

From: Stephen Bannasch <hidden>
Date: 2016-06-15 22:44:27

On Fri, Apr 04, 2008 at 07:49:24PM -0400, Stephen Bannasch wrote:
quoted
I'm just fooling around with git so far but I found a huge space savings
after running git gc. Here are the rough numbers:

svn repo on server:        1GB
svn repo checked out:      2GB
git svn clone after gc:  384MB

That's saving the full history in git -- about 13000 revisions.
git-gc is such an important step in importing a repository from svn.
Why doesn't git-svn take this vital step automatically?
I think because it is not necessary for continued productive use of git and the gc operation is expensive. On the repo above it took about 8 hours running in the background while I was working on other stuff.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help