git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git repository size vs. subversion repository size

From
SBStephen Bannasch <stephen.bannasch@deanbrook.org>
Date
Apr 5, 2008, 00:04 UTC
Message-ID
<p06240813c41c720f8533@[63.138.152.125]>
In-Reply-To
<20080405000141.GA23633@dervierte>
Show 12 quoted lines
>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?
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.
Previous: Steven WalterNext: Björn Steinbrink
Message 5 of 11 in “git repository size vs. subversion repository size”
  1. Sean BrownApr 4, 2008
  2. Björn SteinbrinkApr 4, 2008
  3. Stephen BannaschApr 4, 2008
  4. Steven WalterApr 5, 2008
  5. Stephen BannaschApr 5, 2008
  6. Björn SteinbrinkApr 5, 2008
  7. Eric HanchrowApr 14, 2008
  8. Sean BrownApr 5, 2008
  9. Björn SteinbrinkApr 5, 2008
  10. Jan HudecApr 13, 2008
  11. Shawn O. PearceApr 5, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.