From 2d2920c0cebd9e3537e9068a6ef5c60b389ce4a0 Mon Sep 17 00:00:00 2001 From: Karthik Nayak Date: Tue, 7 Oct 2025 14:11:25 +0200 Subject: [PATCH] refs: remove unused headers In the 'refs/' namespace, some of the included header files are not needed, let's remove them. Signed-off-by: Karthik Nayak Signed-off-by: Junio C Hamano --- refs/debug.c | 1 - refs/files-backend.c | 1 - refs/reftable-backend.c | 1 - 3 files changed, 3 deletions(-) diff --git a/refs/debug.c b/refs/debug.c index da300efaf3..7fe1c2619e 100644 --- a/refs/debug.c +++ b/refs/debug.c @@ -1,7 +1,6 @@ #include "git-compat-util.h" #include "hex.h" #include "refs-internal.h" -#include "string-list.h" #include "trace.h" static struct trace_key trace_refs = TRACE_KEY_INIT(REFS); diff --git a/refs/files-backend.c b/refs/files-backend.c index 088b52c740..1bdca2ece3 100644 --- a/refs/files-backend.c +++ b/refs/files-backend.c @@ -20,7 +20,6 @@ #include "../dir-iterator.h" #include "../lockfile.h" #include "../object.h" -#include "../object-file.h" #include "../path.h" #include "../dir.h" #include "../chdir-notify.h" diff --git a/refs/reftable-backend.c b/refs/reftable-backend.c index 8dae1e1112..67b7bc7958 100644 --- a/refs/reftable-backend.c +++ b/refs/reftable-backend.c @@ -11,7 +11,6 @@ #include "../hex.h" #include "../iterator.h" #include "../ident.h" -#include "../lockfile.h" #include "../object.h" #include "../path.h" #include "../refs.h" -- 2.47.3