Re: [PATCH v2 4/4] bundle v3: the beginning
- From
Jeff King <peff@peff.net>
- Date
- Jun 8, 2016, 16:19 UTC
- Message-ID
- <20160608161958.GA30876@sigill.intra.peff.net>
- In-Reply-To
- <CACsJy8CtsFFJPssDDBuL8TLoxi1f=734mjAjCUOr8Y63aD3xUA@mail.gmail.com>
On Wed, Jun 08, 2016 at 05:44:06PM +0700, Duy Nguyen wrote:
Show 9 quoted lines
> On Wed, Jun 8, 2016 at 3:23 AM, Jeff King <peff@peff.net> wrote: > > Because this "external odb" essentially acts as a git alternate, we > > would hit it only when we couldn't find an object through regular means. > > Git would then make the object available in the usual on-disk format > > (probably as a loose object). > > This means git-gc (and all things that do rev-list --objects --all) > would download at least all trees and commits? Or will we have special > treatment for those commands?
Yes. To me, this was always about punting large blobs from the clones. Basically the way git-lfs and other tools work, but without munging your history permanently.
I don't know if Christian had other cases in mind (like the many-files case, which I think is better served by something like narrow clones).
-Peff