From: Nguyen Thai Ngoc Duy Date: Thu, 29 Jul 2010 10:29:32 GMT Subject: Re: Sparse clones (Was: Re: [PATCH 1/2] upload-pack: support subtree packing) Message-ID: In-Reply-To: On Wed, Jul 28, 2010 at 1:59 PM, Elijah Newren wrote: >> Revision walking is not the only gate to access objects. Others like >> diff machinery needs also be taught about rev-list limits. > > Right, good point.  Are there others than the diff machinery (and the > fsck special case) that you know of? A lot (just found out as I was pushing subtree clone as far as I could). For merging, you can hardly limit sha1 access. When writing tree, git's particularly paranoid and check for sha1 existence (has_sha1_file and assert_sha1_type). You can find that has_sha1_file is used in many places, not just commit/write-tree. Narrow/Sparse/Subtree/Lazy/Whatever-it-is clone will have hard time.. Oh.. the lazy one does not. -- Duy