Skip to content

Commit e93fc5d

Browse files
newrengitster
authored andcommitted
treewide: remove cache.h inclusion due to object-name.h changes
Signed-off-by: Elijah Newren <[email protected]> Acked-by: Calvin Wan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent dabab1d commit e93fc5d

File tree

13 files changed

+10
-13
lines changed

13 files changed

+10
-13
lines changed

branch.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "git-compat-util.h"
2-
#include "cache.h"
32
#include "advice.h"
43
#include "config.h"
54
#include "branch.h"

checkout.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
#include "cache.h"
1+
#include "git-compat-util.h"
22
#include "object-name.h"
33
#include "remote.h"
44
#include "refspec.h"
55
#include "checkout.h"
66
#include "config.h"
7+
#include "strbuf.h"
78

89
struct tracking_name_data {
910
/* const */ char *src_ref;

fmt-merge-msg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "cache.h"
1+
#include "git-compat-util.h"
22
#include "alloc.h"
33
#include "config.h"
44
#include "environment.h"

mailmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "cache.h"
1+
#include "git-compat-util.h"
22
#include "environment.h"
33
#include "string-list.h"
44
#include "mailmap.h"

notes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "cache.h"
1+
#include "git-compat-util.h"
22
#include "config.h"
33
#include "environment.h"
44
#include "hex.h"

refs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The backend-independent part of the reference module.
33
*/
44

5-
#include "cache.h"
5+
#include "git-compat-util.h"
66
#include "advice.h"
77
#include "alloc.h"
88
#include "config.h"

remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "cache.h"
1+
#include "git-compat-util.h"
22
#include "abspath.h"
33
#include "alloc.h"
44
#include "config.h"

setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "cache.h"
1+
#include "git-compat-util.h"
22
#include "abspath.h"
33
#include "environment.h"
44
#include "gettext.h"

strbuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "cache.h"
1+
#include "git-compat-util.h"
22
#include "abspath.h"
33
#include "alloc.h"
44
#include "environment.h"

t/helper/test-oidmap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "test-tool.h"
2-
#include "cache.h"
32
#include "hex.h"
43
#include "object-name.h"
54
#include "oidmap.h"

0 commit comments

Comments
 (0)