Re: [PATCH 0/5] odb: make packfile generation pluggable
Patrick Steinhardt <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 07, 2026 at 02:05:58PM -0700, Junio C Hamano wrote: > Patrick Steinhardt <[email protected]> writes: > > > Hi, > > > > this patch series makes packfile generation pluggable. > > > > Note that this series only makes those parts pluggable that are required > > for the transport layer. The other parts that relate to packfile > > generation as required by our repository maintenance is kept as-is, as > > there is a bunch of options there that are way too specific to the > > "files" backend to be portable. This should ultimately not be much of a > > problem though, as maintenance itself is already pluggable in the first > > place. > > > > It's a bit of a shame though for git-pack-objects(1), which still isn't > > usable with alternate backends. I tried several times to find good > > solutions for making it fully pluggable, but due to the backend-specific > > options it's an utter mess. I want to eventually address this though: > > same as with git-refs(1), I want to introduce git-objects(1) to care > > about all things ODB. And as part of that command we can also introduce > > a command that generates packfiles in a generic fashion, without all the > > cruft that git-pack-objects(1) has. This is part of a future patch > > series though. > > > > The series is built on top of 2c78326f81 (The 11th batch, 2026-08-05). > > With "--no-ref-delta" thing in flight, this will not play well with > what is in 'seen', though. Ah, dang, you're right. I'm not quite sure about the status of that series -- there's been a discussion around whether it is the right fix in the first case with Peff, and there wasn't an answer since Peff's last mail. Taylor, could you maybe share what your plans are? If you want to pursue it further I'm happy to add it as a dependency and/or wait a bit. Patrick