aboutsummaryrefslogtreecommitdiffstats
path: root/diff.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-03-21 06:25:58 +0000
committerJunio C Hamano <gitster@pobox.com>2023-03-21 10:56:52 -0700
commit0b027f6ca79cafbc14f36ff1741fc7378282f295 (patch)
tree8664359f8aadf94ee7cd79839244198e6cbd78d4 /diff.c
parent7ee24e18e55f5459183189a793cb216fb50c20f8 (diff)
downloadgit-0b027f6ca79cafbc14f36ff1741fc7378282f295.tar.gz
abspath.h: move absolute path functions from cache.h
This is another step towards letting us remove the include of cache.h in strbuf.c. It does mean that we also need to add includes of abspath.h in a number of C files. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff.c b/diff.c
index 00746f2f86..1b0be99c06 100644
--- a/diff.c
+++ b/diff.c
@@ -2,6 +2,7 @@
* Copyright (C) 2005 Junio C Hamano
*/
#include "cache.h"
+#include "abspath.h"
#include "alloc.h"
#include "config.h"
#include "gettext.h"