treewide: remove cache.h inclusion due to previous changes

Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Apr 22, 2023 at 20:17 UTC 5e3f94dfe3c69bc2a711a9dc3b1635e7ff91ab54
31 files changed +25 -31
archive-zip.c
+1 -1
@@ -1,7 +1,7 @@
1 /*
2 * Copyright (c) 2006 Rene Scharfe
3 */
4 -#include "cache.h"
4 +#include "git-compat-util.h"
5 #include "config.h"
6 #include "archive.h"
7 #include "gettext.h"
bundle-uri.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "bundle-uri.h"
3 #include "bundle.h"
4 #include "copy.h"
color.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "config.h"
3 #include "color.h"
4 #include "editor.h"
combine-diff.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "object-store.h"
3 #include "commit.h"
4 #include "convert.h"
common-main.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "exec-cmd.h"
3 #include "gettext.h"
4 #include "attr.h"
config.c
+1 -1
@@ -5,7 +5,7 @@
5 * Copyright (C) Johannes Schindelin, 2005
6 *
7 */
8 -#include "cache.h"
8 +#include "git-compat-util.h"
9 #include "abspath.h"
10 #include "advice.h"
11 #include "alloc.h"
copy.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "copy.h"
3 #include "path.h"
4 #include "wrapper.h"
credential.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "abspath.h"
3 #include "config.h"
4 #include "credential.h"
daemon.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "abspath.h"
3 #include "alloc.h"
4 #include "config.h"
date.c
+1 -1
@@ -4,7 +4,7 @@
4 * Copyright (C) Linus Torvalds, 2005
5 */
6
7 -#include "cache.h"
7 +#include "git-compat-util.h"
8 #include "date.h"
9 #include "gettext.h"
10 #include "pager.h"
diagnose.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "diagnose.h"
3 #include "compat/disk.h"
4 #include "archive.h"
environment.c
+1 -1
@@ -7,7 +7,7 @@
7 * even if you might want to know where the git directory etc
8 * are.
9 */
10 -#include "cache.h"
10 +#include "git-compat-util.h"
11 #include "abspath.h"
12 #include "branch.h"
13 #include "convert.h"
ll-merge.c
+1 -1
@@ -4,7 +4,7 @@
4 * Copyright (c) 2007 Junio C Hamano
5 */
6
7 -#include "cache.h"
7 +#include "git-compat-util.h"
8 #include "config.h"
9 #include "convert.h"
10 #include "attr.h"
match-trees.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "hex.h"
3 #include "match-trees.h"
4 #include "tree.h"
midx.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "abspath.h"
3 #include "alloc.h"
4 #include "config.h"
object-file.c
+1 -1
@@ -6,7 +6,7 @@
6 * This handles basic git object files - packing, unpacking,
7 * creation etc.
8 */
9 -#include "cache.h"
9 +#include "git-compat-util.h"
10 #include "abspath.h"
11 #include "alloc.h"
12 #include "config.h"
packfile.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "alloc.h"
3 #include "environment.h"
4 #include "gettext.h"
pkt-line.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "copy.h"
3 #include "pkt-line.h"
4 #include "gettext.h"
range-diff.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "environment.h"
3 #include "gettext.h"
4 #include "range-diff.h"
ref-filter.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "alloc.h"
3 #include "environment.h"
4 #include "gettext.h"
t/helper/test-match-trees.c
-1
@@ -1,5 +1,4 @@
1 #include "test-tool.h"
2 -#include "cache.h"
2 #include "hex.h"
3 #include "match-trees.h"
4 #include "object-name.h"
t/helper/test-mergesort.c
-1
@@ -1,5 +1,4 @@
1 #include "test-tool.h"
2 -#include "cache.h"
2 #include "mem-pool.h"
3 #include "mergesort.h"
4 #include "strbuf.h"
t/helper/test-oid-array.c
-1
@@ -1,5 +1,4 @@
1 #include "test-tool.h"
2 -#include "cache.h"
2 #include "hex.h"
3 #include "oid-array.h"
4 #include "setup.h"
t/helper/test-oidtree.c
-1
@@ -1,5 +1,4 @@
1 #include "test-tool.h"
2 -#include "cache.h"
2 #include "hex.h"
3 #include "oidtree.h"
4 #include "setup.h"
t/helper/test-parse-options.c
-1
@@ -1,5 +1,4 @@
1 #include "test-tool.h"
2 -#include "cache.h"
2 #include "parse-options.h"
3 #include "strbuf.h"
4 #include "string-list.h"
t/helper/test-read-midx.c
-1
@@ -1,5 +1,4 @@
1 #include "test-tool.h"
2 -#include "cache.h"
2 #include "hex.h"
3 #include "midx.h"
4 #include "repository.h"
t/helper/test-string-list.c
-1
@@ -1,5 +1,4 @@
1 #include "test-tool.h"
2 -#include "cache.h"
2 #include "strbuf.h"
3 #include "string-list.h"
4
tree-diff.c
+1 -1
@@ -1,7 +1,7 @@
1 /*
2 * Helper functions for tree diff generation
3 */
4 -#include "cache.h"
4 +#include "git-compat-util.h"
5 #include "diff.h"
6 #include "diffcore.h"
7 #include "tree.h"
tree-walk.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "tree-walk.h"
3 #include "alloc.h"
4 #include "dir.h"
tree.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "cache-tree.h"
3 #include "hex.h"
4 #include "tree.h"
wrapper.c
+2 -1
@@ -1,10 +1,11 @@
1 /*
2 * Various trivial helper wrappers around standard functions
3 */
4 -#include "cache.h"
4 +#include "git-compat-util.h"
5 #include "abspath.h"
6 #include "config.h"
7 #include "gettext.h"
8 +#include "object.h"
9 #include "repository.h"
10 #include "strbuf.h"
11 #include "trace2.h"