]> git.ipfire.org Git - thirdparty/git.git/commitdiff
refs: remove unused headers
authorKarthik Nayak <karthik.188@gmail.com>
Tue, 7 Oct 2025 12:11:25 +0000 (14:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Oct 2025 16:22:57 +0000 (09:22 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/debug.c
refs/files-backend.c
refs/reftable-backend.c

index da300efaf30973f01c99aeb930b4ee5a499ce467..7fe1c2619ed672659874eb7de5ebdb1fcac8ca89 100644 (file)
@@ -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);
index 088b52c740b9ff0587fe3935da33f69478ae1c5d..1bdca2ece3e04f8444a9e61f3d7d03eddfc32f65 100644 (file)
@@ -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"
index 8dae1e1112ccaf917561fe873258b8246f30803f..67b7bc7958fcb15e87a0021c076be4131d6c92dd 100644 (file)
@@ -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"