diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 08:33:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 22:39:53 +0200 |
commit | bc5c5ec0446895f5c4139cd470066beb3c4ac6d5 (patch) | |
tree | 3634954efc29ed76b389c90b0b357c0c96ed425e /read-cache.c | |
parent | read-cache*.h: move declarations for read-cache.c functions from cache.h (diff) | |
download | git-bc5c5ec0446895f5c4139cd470066beb3c4ac6d5.tar.xz git-bc5c5ec0446895f5c4139cd470066beb3c4ac6d5.zip |
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 'read-cache.c')
-rw-r--r-- | read-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c index 42f27b0664..edab96765d 100644 --- a/read-cache.c +++ b/read-cache.c @@ -3,7 +3,7 @@ * * Copyright (C) Linus Torvalds, 2005 */ -#include "cache.h" +#include "git-compat-util.h" #include "alloc.h" #include "bulk-checkin.h" #include "config.h" |