Re: [PATCH v2 2/7] refs/packed: drop `USE_THE_REPOSITORY_VARIABLE`
- From
Toon Claes <toon@iotcl.com>
- Date
- Jul 15, 2026, 12:28 UTC
- Message-ID
- <871pd4h1y3.fsf@emacs.iotcl.com>
- In-Reply-To
- <20260715-pks-refs-wo-the-repository-v2-2-d00d364f5a3e@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> There's a single user of `the_repository` in the "packed" reference > backend. Convert it to instead use the backend's repository and drop > `USE_THE_REPOSITORY_VARIABLE`.
Well, this was removed in the previous patch. I'm fine keeping this as a separate commmit, but the messaging is a bit confusing.
Show 20 quoted lines
> > Signed-off-by: Patrick Steinhardt <ps@pks.im> > --- > refs/packed-backend.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/refs/packed-backend.c b/refs/packed-backend.c > index 14b27d24ec..c5d96793fa 100644 > --- a/refs/packed-backend.c > +++ b/refs/packed-backend.c > @@ -1,4 +1,3 @@ > -#define USE_THE_REPOSITORY_VARIABLE > #define DISABLE_SIGN_COMPARE_WARNINGS > > #include "../git-compat-util.h" > > -- > 2.55.0.313.g8d093f411d.dirty > >
-- Cheers, Toon