summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:33:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-06-21 20:39:53 (GMT)
commitbc5c5ec0446895f5c4139cd470066beb3c4ac6d5 (patch)
tree3634954efc29ed76b389c90b0b357c0c96ed425e /revision.c
parent08c46a499aec5b6459fb1d55ff90403c7dc2ee5a (diff)
downloadgit-bc5c5ec0446895f5c4139cd470066beb3c4ac6d5.zip
git-bc5c5ec0446895f5c4139cd470066beb3c4ac6d5.tar.gz
git-bc5c5ec0446895f5c4139cd470066beb3c4ac6d5.tar.bz2
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 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index 8d37ec9..66a1fec 100644
--- a/revision.c
+++ b/revision.c
@@ -1,4 +1,4 @@
-#include "cache.h"
+#include "git-compat-util.h"
#include "alloc.h"
#include "config.h"
#include "environment.h"