Re: .gitlink for Summer of Code
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Mar 27, 2007, 18:15 UTC
- Message-ID
- <Pine.LNX.4.64.0703271114000.6730@woody.linux-foundation.org>
- In-Reply-To
- <Pine.LNX.4.63.0703270858080.15345@qynat.qvtvafvgr.pbz>
On Tue, 27 Mar 2007, David Lang wrote:
Show 10 quoted lines
> On Tue, 27 Mar 2007, Linus Torvalds wrote: > > > - walking the *global* object list is simply not possible. You need to > > fsck every single subtree individually, and fsck the superproject on > > its own, *without* recursing into the subprojects. And you need to be > > able to clone the superproject and only one or two subprojects, and > > never see it as one "atomic" big repository. > > you can do a fsck to make sure that all needed objects are available on each > project individually, but a prune/gc _does_ need to go through the global
No it doesn't.
If you do per-project object stores, there's no need. There simply isn't anything to prune "globally". Everything is local.
Now, if you share the object directory, you can't prune. But that's true even without any "subproject" support, and has nothing to do with sub- or super-projects. Linus