Re: [PATCH v2 5/8] Documentation: add Packfile URIs design doc
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Apr 23, 2019, 22:30 UTC
- Message-ID
- <87y340s6ax.fsf@evledraar.gmail.com>
- In-Reply-To
- <20190423222249.GB98980@google.com>
On Wed, Apr 24 2019, Jonathan Nieder wrote:
Show 14 quoted lines
> Hi, > > Ævar Arnfjörð Bjarmason wrote: > >> This is really orthagonal to this series, but wouldn't a better >> resumption strategy here be to walk the pack we just downloaded, run the >> equivalent of 'commit-graph write' on it to figure out likely "tip" >> commits, and use those in "have" lines to negotiate with the server the >> next time around? > > Do you mean this for when a pack is self-contained and contains all > objects reachable from those "tip" commits? > > What would you do when a pack is not self-contained in that way?
Indeed, it had been a while since I read the first version of this. I was assuming a "base pack" use-case, but it seems it's narrowly isolated to just "N packs each containing one big blob", right?