diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 06:33:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 13:39:53 -0700 |
commit | bc5c5ec0446895f5c4139cd470066beb3c4ac6d5 (patch) | |
tree | 3634954efc29ed76b389c90b0b357c0c96ed425e /Documentation/CodingGuidelines | |
parent | 08c46a499aec5b6459fb1d55ff90403c7dc2ee5a (diff) | |
download | git-bc5c5ec0446895f5c4139cd470066beb3c4ac6d5.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 'Documentation/CodingGuidelines')
-rw-r--r-- | Documentation/CodingGuidelines | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines index 003393ed16..2b472df29d 100644 --- a/Documentation/CodingGuidelines +++ b/Documentation/CodingGuidelines @@ -444,7 +444,7 @@ For C programs: - The first #include in C files, except in platform specific compat/ implementations and sha1dc/, must be either "git-compat-util.h" or one of the approved headers that includes it first for you. (The - approved headers currently include "cache.h", "builtin.h", + approved headers currently include "builtin.h", "t/helper/test-tool.h", "xdiff/xinclude.h", or "reftable/system.h"). You do not have to include more than one of these. |