From: Derrick Stolee Date: Wed, 07 May 2025 01:25:47 GMT Subject: Re: [PATCH 12/17] odb: trivial refactorings to get rid of `the_repository` Message-ID: <728e13e3-b563-4d66-bc00-b3320b76ec9f@gmail.com> In-Reply-To: <20250506-pks-object-store-wo-the-repository-v1-12-c05b82e7b126@pks.im> On 5/6/25 7:09 AM, Patrick Steinhardt wrote: > All of the external functions provided by the object database subsystem > don't depend on `the_repository` anymore, but some internal functions > still do. Refactor those cases by plumbing through the repository that > owns the object database. > > This change allows us to get rid of the `USE_THE_REPOSITORY_VARIABLE` > preprocessor define. > --- a/odb.c > +++ b/odb.c > @@ -1,5 +1,3 @@ > -#define USE_THE_REPOSITORY_VARIABLE > - Very satisfying! Thanks, -Stolee