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 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html