Thread (4 messages) flat view 4 messages, 1 author, 10h ago
HOTtoday

[PATCH 1/2] builtin/stash: remove unused header

From: D. Ben Knoble <hidden>
Date: 2026-09-19 21:27:20
Subsystem: the rest · Maintainer: Linus Torvalds

Clang complains that oid-array.h is unused. Certainly none of the
oid_array* functions, types, etc., are used, and the
transitively-included hash.h declarations are used but covered by a
pre-existing direct #include of hash.h.

Signed-off-by: D. Ben Knoble <redacted>
---
 builtin/stash.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/builtin/stash.c b/builtin/stash.c
index 7a9843413b..dfea2d2c4c 100644
--- a/builtin/stash.c
+++ b/builtin/stash.c
@@ -31,7 +31,6 @@
 #include "reflog.h"
 #include "reflog-walk.h"
 #include "add-interactive.h"
-#include "oid-array.h"
 #include "commit.h"
 
 #define INCLUDE_ALL_FILES 2
-- 
2.56.0.rc1.315.gc6ed9934b7.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