Message ID | 20250306-b4-pks-objects-without-the-repository-v2-0-f3465327be69@pks.im (mailing list archive) |
---|---|
Headers | show |
Series | Stop depending on `the_repository` in object-related subsystems | expand |
Patrick Steinhardt <ps@pks.im> writes: > Hi, > > this patch series is another step to remove our dependency on the global > `the_repository` variable. The series focusses on subsystems related to > objects. > > The intent here is to work towards libification of the whole subsystem > so that we can start splitting out something like an object "backend". > It is thus part of a set of refactorings aimed at allowing pluggable > object databases eventually. I'm not discussing that bigger effort yet, > mostly because it's still taking shape. So these patch series contains > things that make sense standalone, even if pluggable ODBs never get to > be a thing. > > Note that this patch series stop short of dropping `the_repository` in > "object-file.c". This is a bigger undertaking, so I'm pushing that into > the next patch series. > > The series is built on top of cb0ae672aea (A bit more post -rc0, > 2025-02-27) with ps/path-sans-the-repository at 028f618658e (path: > adjust last remaining users of `the_repository`, 2025-02-07) merged into > it. > > Changes in v2: > - Point out why t1050 had to be adapted. > - Drop the rename of `get_max_object_index()` and > `get_indexed_object()`. > - Fix a couple of commit message typos. > - Link to v1: https://lore.kernel.org/r/20250303-b4-pks-objects-without-the-repository-v1-0-c5dd43f2476e@pks.im > No further comments from my side, the changelog and range-diff looks good. Thanks! [snip]