summaryrefslogtreecommitdiffstats
path: root/hook.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 01:09:34 +0100
committerJunio C Hamano <gitster@pobox.com>2023-02-24 02:25:30 +0100
commitfc7bd51b06424694c2e3dd97c11fa095d84d52b1 (patch)
treea62bbcad4c7f321576083a0a9f5eacc0bcd9dbf0 /hook.c
parentreplace-object.h: move read_replace_refs declaration from cache.h to here (diff)
downloadgit-fc7bd51b06424694c2e3dd97c11fa095d84d52b1.tar.xz
git-fc7bd51b06424694c2e3dd97c11fa095d84d52b1.zip
treewide: replace cache.h with more direct headers, where possible
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hook.c')
-rw-r--r--hook.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hook.c b/hook.c
index 1a84831863..f6ddd79098 100644
--- a/hook.c
+++ b/hook.c
@@ -1,7 +1,10 @@
-#include "cache.h"
+#include "git-compat-util.h"
+#include "advice.h"
+#include "gettext.h"
#include "hook.h"
#include "run-command.h"
#include "config.h"
+#include "strbuf.h"
const char *find_hook(const char *name)
{