[PATCH v2 1/4] builtin/stash: remove unused header
- From
D. Ben Knoble <ben.knoble@gmail.com>
- Date
- Sep 23, 2026, 12:58 UTC
- Message-ID
- <b6798c8a25993913d2ba13b8f3b08d602364ca44.1790168285.git.ben.knoble@gmail.com>
- In-Reply-To
- <cover.1790168285.git.ben.knoble@gmail.com>
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 <ben.knoble@gmail.com> --- 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