Re: Summer of Code - Cached Packs/Object Lists
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Mar 23, 2009, 02:52 UTC
- Message-ID
- <20090323025244.GO23521@spearce.org>
- In-Reply-To
- <fsmk86y8vqj4f56b08UYAxe124vaj_firegpg@mail.gmail.com>
Thomas Coppi <thisnukes4u@gmail.com> wrote:
Show 10 quoted lines
> On Sun, Mar 22, 2009 at 7:59 PM, Shawn O. Pearce <spearce@spearce.org> 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.