Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/hook.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-02-24 03:09:34 +0300
committerJunio C Hamano <gitster@pobox.com>2023-02-24 04:25:30 +0300
commitfc7bd51b06424694c2e3dd97c11fa095d84d52b1 (patch)
treea62bbcad4c7f321576083a0a9f5eacc0bcd9dbf0 /hook.c
parentcbeab74713b6a97dfe6cf9e3bd9dbf7c68ea4e7b (diff)
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)
{