treewide: remove cache.h inclusion due to environment.h changes
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Elijah Newren committed
Mar 21, 2023 at 06:26 UTC
987505887058584ebb0e76ba8499f221c80153b6
9 files changed
+9
-9
csum-file.c
+1
-1
@@ -7,7 +7,7 @@
7
* files. Useful when you write a file that you want to be
8
* able to verify hasn't been messed with afterwards.
9
*/
10
-#include "cache.h"
10
+#include "git-compat-util.h"
11
#include "progress.h"
12
#include "csum-file.h"
13
#include "wrapper.h"
gettext.c
+1
-1
@@ -2,7 +2,7 @@
2
* Copyright (c) 2010 Ævar Arnfjörð Bjarmason
3
*/
4
5
-#include "cache.h"
5
+#include "git-compat-util.h"
6
#include "abspath.h"
7
#include "environment.h"
8
#include "exec-cmd.h"
ls-refs.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 "hex.h"
notes-utils.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "config.h"
3
#include "commit.h"
4
#include "environment.h"
prompt.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "config.h"
3
#include "environment.h"
4
#include "run-command.h"
prune-packed.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 "object-store.h"
reachable.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "gettext.h"
3
#include "hex.h"
4
#include "refs.h"
t/helper/test-bitmap.c
+1
-1
@@ -1,5 +1,5 @@
1
#include "test-tool.h"
2
-#include "cache.h"
2
+#include "git-compat-util.h"
3
#include "pack-bitmap.h"
4
5
static int bitmap_list_commits(void)
trailer.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "alloc.h"
3
#include "config.h"
4
#include "environment.h"