From: Jeff King Date: Wed, 08 Jun 2016 16:19:58 GMT Subject: Re: [PATCH v2 4/4] bundle v3: the beginning Message-ID: <20160608161958.GA30876@sigill.intra.peff.net> In-Reply-To: On Wed, Jun 08, 2016 at 05:44:06PM +0700, Duy Nguyen wrote: > On Wed, Jun 8, 2016 at 3:23 AM, Jeff King 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