Thread (66 messages) flat view 66 messages, 4 authors, 4h ago
HOTtoday

[GSoC PATCH v4 7/7] repo: remove unused setup.h include

From: K Jayatheerth <hidden>
Date: 2026-08-06 10:26:15
Subsystem: the rest · Maintainer: Linus Torvalds

The repository prefix is now stored in `struct repository`, so
builtin/repo.c no longer uses any declarations from setup.h.

Remove the now-unused include.

Mentored-by: Justin Tobler [off-list ref]
Mentored-by: Lucas Seiki Oshiro [off-list ref]
Signed-off-by: K Jayatheerth <redacted>
---
 builtin/repo.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/builtin/repo.c b/builtin/repo.c
index c0f99b6869..8e9f6296b8 100644
--- a/builtin/repo.c
+++ b/builtin/repo.c
@@ -14,7 +14,6 @@
 #include "ref-filter.h"
 #include "refs.h"
 #include "revision.h"
-#include "setup.h"
 #include "strbuf.h"
 #include "string-list.h"
 #include "shallow.h"
-- 
2.55.GIT
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help