Re: Figured out how to get Mozilla into git
From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:29
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