[PATCH v3 1/8] refs: remove unused headers
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Sep 18, 2025, 08:11 UTC
- Message-ID
- <20250918-228-reftable-introduce-consistency-checks-v3-1-271af03eb34d@gmail.com>
- In-Reply-To
- <20250918-228-reftable-introduce-consistency-checks-v3-0-271af03eb34d@gmail.com>
In the 'refs/' namespace, some of the included header files are not needed, let's remove them.
Signed-off-by: Karthik Nayak <karthik.188@gmail.com> --- 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 1cb955961e..697adbd0dc 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 1b3bf26add..d4fb033417 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 9e889da2ff..2152349cb9 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.51.0