From: Karthik Nayak Date: Fri, 16 Jan 2026 21:27:06 +0000 (+0100) Subject: refs: drop unnecessary header includes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5971ea236877d237d8807008441e8d6569d0d487;p=thirdparty%2Fgit.git refs: drop unnecessary header includes The 'sigchain.h' header isn't being used and can be removed. Similarly, 'run-command.h' serves no direct purpose here. While it gets pulled in transitively through 'hook.h', we can still drop the explicit include for clarity. Signed-off-by: Karthik Nayak Signed-off-by: Junio C Hamano --- diff --git a/refs.c b/refs.c index e06e0cb072..965b232a06 100644 --- a/refs.c +++ b/refs.c @@ -15,7 +15,6 @@ #include "iterator.h" #include "refs.h" #include "refs/refs-internal.h" -#include "run-command.h" #include "hook.h" #include "object-name.h" #include "odb.h" @@ -26,7 +25,6 @@ #include "strvec.h" #include "repo-settings.h" #include "setup.h" -#include "sigchain.h" #include "date.h" #include "commit.h" #include "wildmatch.h"