[PATCH v2 2/7] refs/packed: drop `USE_THE_REPOSITORY_VARIABLE`
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Jul 15, 2026, 07:39 UTC
- Message-ID
- <20260715-pks-refs-wo-the-repository-v2-2-d00d364f5a3e@pks.im>
- In-Reply-To
- <20260715-pks-refs-wo-the-repository-v2-0-d00d364f5a3e@pks.im>
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`.
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