summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:33:57 +0000
committerJunio C Hamano <gitster@pobox.com>2023-05-16 08:58:16 -0700
commit4275a22e169c76ac59ca5720de3f8031ea219d71 (patch)
tree0e7e34ffed1f4148f1d0f80a926c308626ebcc8b /diff.c
parent433097258daa4f7151491579a30a732a5bcdbb1b (diff)
downloadgit-4275a22e169c76ac59ca5720de3f8031ea219d71.tar.gz
cache.h: remove this no-longer-used header
Since this header showed up in some places besides just #include statements, update/clean-up/remove those other places as well. Note that compat/fsmonitor/fsm-path-utils-darwin.c previously got away with violating the rule that all files must start with an include of git-compat-util.h (or a short-list of alternate headers that happen to include it first). This change exposed the violation and caused it to stop building correctly; fix it by having it include git-compat-util.h first, as per policy. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 1fc4725ae6..082c398808 100644
--- a/diff.c
+++ b/diff.c
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2005 Junio C Hamano
*/
-#include "cache.h"
+#include "git-compat-util.h"
#include "abspath.h"
#include "alloc.h"
#include "base85.h"