Re: .gitlink for Summer of Code
- From
- David Lang <david.lang@digitalinsight.com>
- Date
- Mar 27, 2007, 17:00 UTC
- Message-ID
- <Pine.LNX.4.63.0703270858080.15345@qynat.qvtvafvgr.pbz>
- In-Reply-To
- <Pine.LNX.4.64.0703270952020.6730@woody.linux-foundation.org>
On Tue, 27 Mar 2007, Linus Torvalds wrote:
Show 5 quoted lines
> - 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 object list to find out what objects aren't needed anymore (otherwise, how do you know if the object isn't needed by another thing sharing the same object store?)
David Lang