summaryrefslogtreecommitdiffstats
path: root/hook.c
diff options
context:
space:
mode:
authorCalvin Wan <calvinwan@google.com>2023-06-06 21:48:39 +0200
committerJunio C Hamano <gitster@pobox.com>2023-06-12 22:49:35 +0200
commit5d1344b4973c8ea4904005f3bb51a47334ebb370 (patch)
tree0e8ade677ab5d12198aa16afe23d159cca122fb8 /hook.c
parentstrbuf: clarify dependency (diff)
downloadgit-5d1344b4973c8ea4904005f3bb51a47334ebb370.tar.xz
git-5d1344b4973c8ea4904005f3bb51a47334ebb370.zip
abspath: move related functions to abspath
Move abspath-related functions from strbuf.[ch] to abspath.[ch] so that strbuf is focused on string manipulation routines with minimal dependencies. Signed-off-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hook.c')
-rw-r--r--hook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hook.c b/hook.c
index 3ca5e60895..f6306d72b3 100644
--- a/hook.c
+++ b/hook.c
@@ -1,4 +1,5 @@
#include "git-compat-util.h"
+#include "abspath.h"
#include "advice.h"
#include "gettext.h"
#include "hook.h"