Thread (16 messages) 16 messages, 2 authors, 1d ago
WARM1d

[PATCH 2/7] refs/packed: drop `USE_THE_REPOSITORY_VARIABLE`

From: Patrick Steinhardt <hidden>
Date: 2026-07-09 08:29:33
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 refs/packed-backend.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/refs/packed-backend.c b/refs/packed-backend.c
index 5c49c06493..7d0a4811fe 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.175.ge4962bd3d5.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help