treewide: remove cache.h inclusion due to object-name.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
e93fc5d721738de978ef06acb62daa3df3c40625
13 files changed
+10
-13
branch.c
-1
@@ -1,5 +1,4 @@
1
#include "git-compat-util.h"
2
-#include "cache.h"
2
#include "advice.h"
3
#include "config.h"
4
#include "branch.h"
checkout.c
+2
-1
@@ -1,9 +1,10 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "object-name.h"
3
#include "remote.h"
4
#include "refspec.h"
5
#include "checkout.h"
6
#include "config.h"
7
+#include "strbuf.h"
8
9
struct tracking_name_data {
10
/* const */ char *src_ref;
fmt-merge-msg.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"
mailmap.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "environment.h"
3
#include "string-list.h"
4
#include "mailmap.h"
notes.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 "hex.h"
refs.c
+1
-1
@@ -2,7 +2,7 @@
2
* The backend-independent part of the reference module.
3
*/
4
5
-#include "cache.h"
5
+#include "git-compat-util.h"
6
#include "advice.h"
7
#include "alloc.h"
8
#include "config.h"
remote.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"
setup.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "abspath.h"
3
#include "environment.h"
4
#include "gettext.h"
strbuf.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 "environment.h"
t/helper/test-oidmap.c
-1
@@ -1,5 +1,4 @@
1
#include "test-tool.h"
2
-#include "cache.h"
2
#include "hex.h"
3
#include "object-name.h"
4
#include "oidmap.h"
t/helper/test-reach.c
-1
@@ -1,5 +1,4 @@
1
#include "test-tool.h"
2
-#include "cache.h"
2
#include "alloc.h"
3
#include "commit.h"
4
#include "commit-reach.h"
t/helper/test-submodule-config.c
-1
@@ -1,5 +1,4 @@
1
#include "test-tool.h"
2
-#include "cache.h"
2
#include "config.h"
3
#include "object-name.h"
4
#include "setup.h"
transport-helper.c
+1
-1
@@ -1,4 +1,4 @@
1
-#include "cache.h"
1
+#include "git-compat-util.h"
2
#include "transport.h"
3
#include "quote.h"
4
#include "run-command.h"