treewide: remove unnecessary cache.h inclusion from several sources
commit4f6728d52d5dc79ce522e92171f984455c04b963
authorElijah Newren <newren@gmail.com>
Tue, 21 Mar 2023 06:25:56 +0000 (21 06:25 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Mar 2023 17:56:51 +0000 (21 10:56 -0700)
tree0d57326bf0527aa0cd90f1b3ddef40b7afdfd12a
parent553d4d70d128e78fd12031f5109d0164088c784f
treewide: remove unnecessary cache.h inclusion from several sources

A number of files were apparently including cache.h solely to get
gettext.h.  By making those files explicitly include gettext.h, we can
already drop the include of cache.h in these files.  On top of that,
there were some files using cache.h that didn't need to for any reason.
Remove these unnecessary includes.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
13 files changed:
compat/linux/procinfo.c
compat/simple-ipc/ipc-shared.c
connected.c
grep.c
negotiator/default.c
negotiator/skipping.c
notes-cache.c
patch-ids.c
reflog.c
refs/iterator.c
replace-object.c
t/helper/test-hash.c
xdiff-interface.c