From fc7bd51b06424694c2e3dd97c11fa095d84d52b1 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Fri, 24 Feb 2023 00:09:34 +0000 Subject: treewide: replace cache.h with more direct headers, where possible Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- hook.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hook.c') 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) { -- cgit v1.3