public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* git repository size vs. subversion repository size
@ 2008-04-04 22:02 Sean Brown
  2008-04-04 22:17 ` Björn Steinbrink
  2008-04-05  3:11 ` Shawn O. Pearce
  0 siblings, 2 replies; 11+ messages in thread
From: Sean Brown @ 2008-04-04 22:02 UTC (permalink / raw)
  To: git

Last night I decided to see what storage size differences I might see
between an svn repo and a git one.  So I imported a highly used
subversion repository into git and was shocked to see how huge the git
version was.  I used a repo that has a lot of branches and tagged
releases just to make sure importing into git would in fact keep all
of the history.  It did keep the history, but the total disk usage was
very different:

$subversionbox # du -hs ./my_sample_website/
67M	./my_sample_website

$localhost # du -hs ./git-samplesite/
3.6GB ./git-samplesite/

Here are the steps I took (locally):

mkdir git-samplesite-tmp
cd git-samplesite-tmp
git-svn init http://subversion.myco.com/my_sample_website --no-metadata
git config svn.authorsfile ~/Desktop/users.txt   # mapped svn users to git users
git-svn fetch
git clone git-samplesite-tmp git-samplesite

I did this based on reading the documents in the git wiki, so I
assumed they were "best practice."  Did I do something wrong?  If this
is a normal amount of storage need increase, we'd likely not move to
git based on the need for new hardware alone.

Any help would be appreciated.

Sean

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-04-14 15:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04 22:02 git repository size vs. subversion repository size Sean Brown
2008-04-04 22:17 ` Björn Steinbrink
2008-04-04 23:49   ` Stephen Bannasch
2008-04-05  0:01     ` Steven Walter
2008-04-05  0:04       ` Stephen Bannasch
2008-04-05  0:18       ` Björn Steinbrink
2008-04-14 15:28       ` Eric Hanchrow
2008-04-05  2:27   ` Sean Brown
2008-04-05  2:34     ` Björn Steinbrink
2008-04-13  9:57       ` Jan Hudec
2008-04-05  3:11 ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox