Re: Git vs Monotone
- From
Jeff King <peff@peff.net>
- Date
- Jul 31, 2008, 19:02 UTC
- Message-ID
- <20080731190209.GA8372@sigill.intra.peff.net>
- In-Reply-To
- <bd6139dc0807311113n50dda9f0t1aab46b724510de2@mail.gmail.com>
On Thu, Jul 31, 2008 at 08:13:59PM +0200, Sverre Rabbelier wrote:
Show 6 quoted lines
> If I clone the git mirror of our monotone repository, I find a > checkout size of 148 MB after git-repack--running git-gc also > increased the size by 2 MB, but I'll stick with the initial checkout > size for fairness. If I multiply this by my 11 checkouts, I will have > 1628 MB. This is even more compelling for me, as I now save 728 MB of > disk space with monotone."
Yikes. This is not even remotely a fair comparison to monotone, which is keeping a central db.
> I'm in the process of cloning the repo myself, and will check if doing > a more aggressive (high --window and --depth values) repack will get > us below that 148, but I'm thinking it's just that big a repo. Anyway,
It's much better than that. I just cloned
git://github.com/felipec/pidgin-clone.git
and the _whole thing_ is 148M, including the working tree. His object db is only 88M. So he can do his 11 trees in 61 * 11 + 88 = 759M, saving 141M over monotone.
And I am repacking with insane depth and window right now to see if we can get it smaller (though really, it is not that big a deal, since the size is dominated by his 11 working trees).
-Peff