treewide: remove cache.h inclusion due to object-file.h changes

Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Apr 11, 2023 at 00:41 UTC b6fdc44c8441d04c6659252cdf9adae240339e17
12 files changed +11 -12
bulk-checkin.c
+1 -1
@@ -1,7 +1,7 @@
1 /*
2 * Copyright (c) 2011, Google Inc.
3 */
4 -#include "cache.h"
4 +#include "git-compat-util.h"
5 #include "alloc.h"
6 #include "bulk-checkin.h"
7 #include "environment.h"
commit-graph.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "config.h"
3 #include "gettext.h"
4 #include "hex.h"
http-fetch.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "config.h"
3 #include "exec-cmd.h"
4 #include "gettext.h"
http-walker.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "repository.h"
3 #include "commit.h"
4 #include "hex.h"
http.h
-1
@@ -3,7 +3,6 @@
3
4 struct packed_git;
5
6 -#include "cache.h"
6 #include "git-zlib.h"
7
8 #include <curl/curl.h>
notes-merge.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "advice.h"
3 #include "commit.h"
4 #include "gettext.h"
pack-bitmap.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "alloc.h"
3 #include "commit.h"
4 #include "gettext.h"
pack-check.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "environment.h"
3 #include "hex.h"
4 #include "repository.h"
pack-mtimes.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "gettext.h"
3 #include "pack-mtimes.h"
4 #include "object-file.h"
pack-revindex.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "gettext.h"
3 #include "pack-revindex.h"
4 #include "object-file.h"
streaming.c
+1 -1
@@ -1,7 +1,7 @@
1 /*
2 * Copyright (c) 2011, Google Inc.
3 */
4 -#include "cache.h"
4 +#include "git-compat-util.h"
5 #include "convert.h"
6 #include "environment.h"
7 #include "streaming.h"
tmp-objdir.c
+1 -1
@@ -1,4 +1,4 @@
1 -#include "cache.h"
1 +#include "git-compat-util.h"
2 #include "tmp-objdir.h"
3 #include "abspath.h"
4 #include "chdir-notify.h"