]> git.ipfire.org Git - thirdparty/git.git/commit - linear-assignment.c
treewide: remove unnecessary cache.h includes in source files
authorElijah Newren <newren@gmail.com>
Fri, 24 Feb 2023 00:09:23 +0000 (00:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 01:25:28 +0000 (17:25 -0800)
commit15db4e7f4ac20cc41902a2479c7784fff8edf2e9
tree041fdf546a331a01315c23ea633d1bd5a1ac99a2
parentba3d1c73daa02152acf4729d45ca7fe4d71d5747
treewide: remove unnecessary cache.h includes in source files

We had several C files include cache.h unnecessarily.  Replace those
with an include of "git-compat-util.h" instead.  Much like the previous
commit, these have all been verified via both ensuring that
    gcc -E $SOURCE_FILE | grep '"cache.h"'
found no hits and that
    make DEVELOPER=1 ${OBJECT_FILE_FOR_SOURCE_FILE}
successfully compiles without warnings.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
29 files changed:
hashmap.c
imap-send.c
json-writer.c
kwset.c
levenshtein.c
linear-assignment.c
mem-pool.c
oidmap.c
repo-settings.c
serve.c
shell.c
t/helper/test-crontab.c
t/helper/test-ctype.c
t/helper/test-json-writer.c
t/helper/test-pcre2-config.c
t/helper/test-prio-queue.c
t/helper/test-run-command.c
t/helper/test-sigchain.c
t/helper/test-simple-ipc.c
t/helper/test-wildmatch.c
thread-utils.c
trace2.c
trace2/tr2_ctr.c
trace2/tr2_tbuf.c
trace2/tr2_tgt_event.c
trace2/tr2_tgt_normal.c
trace2/tr2_tgt_perf.c
trace2/tr2_tmr.c
unix-stream-server.c