Skip to content

Commit 9875058

Browse files
newrengitster
authored andcommitted
treewide: remove cache.h inclusion due to environment.h changes
Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 32a8f51 commit 9875058

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

csum-file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* files. Useful when you write a file that you want to be
88
* able to verify hasn't been messed with afterwards.
99
*/
10-
#include "cache.h"
10+
#include "git-compat-util.h"
1111
#include "progress.h"
1212
#include "csum-file.h"
1313
#include "wrapper.h"

gettext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright (c) 2010 Ævar Arnfjörð Bjarmason
33
*/
44

5-
#include "cache.h"
5+
#include "git-compat-util.h"
66
#include "abspath.h"
77
#include "environment.h"
88
#include "exec-cmd.h"

ls-refs.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 "gettext.h"
44
#include "hex.h"

notes-utils.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 "commit.h"
44
#include "environment.h"

prompt.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 "run-command.h"

prune-packed.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 "gettext.h"
44
#include "object-store.h"

reachable.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 "gettext.h"
33
#include "hex.h"
44
#include "refs.h"

t/helper/test-bitmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "test-tool.h"
2-
#include "cache.h"
2+
#include "git-compat-util.h"
33
#include "pack-bitmap.h"
44

55
static int bitmap_list_commits(void)

trailer.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"

0 commit comments

Comments
 (0)