From: Björn Steinbrink Date: Sat, 05 Apr 2008 00:18:09 GMT Subject: Re: git repository size vs. subversion repository size Message-ID: <20080405001809.GA3101@atjola.homenet> In-Reply-To: <20080405000141.GA23633@dervierte> [Stephan, please stop dropping me from Cc:, thanks] On 2008.04.04 20:01:41 -0400, Steven Walter wrote: > On Fri, Apr 04, 2008 at 07:49:24PM -0400, Stephen Bannasch wrote: > > 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? Starting from 1.5.4 (IIRC) git-svn will repack every 1000 revisions (by default). That won't give you a reeeeally tiny pack but OTOH it won't take ages to do the repacks either. Björn