Re: Figured out how to get Mozilla into git
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 9, 2006, 20:44 UTC
- Message-ID
- <e6cmjn$no5$1@sea.gmane.org>
- In-Reply-To
- <9e4733910606091317p26d66579mdf93db293f93fb50@mail.gmail.com>
Jon Smirl wrote:
> Martin has also brought up the problem with needing a partial clone so > that everyone doesn't have to bring down the entire repository. A > trunk checkout is 340MB and Martin's git tree is 2GB (mine 2.7GB). A > kernel tree is only 680M.
Partial/shallow nor lazy clone we don't have (although there might be some shallow clone partial solutions in topic branches and/or patches flying around in git mailing list). Yet.
But you can do what was done for Linux kernel: split repository into current and historical, and you can join them (join the history) if needed using grafts. And even if one need historical repository, it is neede to clone/copy only _once_. With alternatives (using historical repository as one of alternatives for current repository) someone who has both repositories does need only a little more space, I think, than if one used single repository.
-- Jakub Narebski Warsaw, Poland