From: Shawn O. Pearce Date: Mon, 23 Mar 2009 02:52:44 GMT Subject: Re: Summer of Code - Cached Packs/Object Lists Message-ID: <20090323025244.GO23521@spearce.org> In-Reply-To: Thomas Coppi wrote: > On Sun, Mar 22, 2009 at 7:59 PM, Shawn O. Pearce wrote: >> You could do both. ??But I think most people on the list will argue >> that doing both is overkill and only one is necessary, and further, >> that only the one that offers the "biggest bank for the buck" >> should be implemented. > > Alright, that seems reasonable. Given that I think I would lean > towards implementing an object list caching mechanism, since that seems > to be more generally applicable. The logic for this would then need to > be in the rev-list code(as mentioned in the JGit discussion), correct? Probably. IIRC upload-pack forks a rev-list to produce the object list, and pipes that into the forked pack-objects' stdin. Thus rev-list is probably what would need to know how to include the cached list to its output. -- Shawn.