Skip to content

Commit 41771fa

Browse files
newrengitster
authored andcommitted
cache.h: remove dependence on hex.h; make other files include it explicitly
Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b73ecb4 commit 41771fa

File tree

173 files changed

+172
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+172
-1
lines changed

add-interactive.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "color.h"
44
#include "config.h"
55
#include "diffcore.h"
6+
#include "hex.h"
67
#include "revision.h"
78
#include "refs.h"
89
#include "string-list.h"

apply.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "delta.h"
1616
#include "diff.h"
1717
#include "dir.h"
18+
#include "hex.h"
1819
#include "xdiff-interface.h"
1920
#include "ll-merge.h"
2021
#include "lockfile.h"

archive-tar.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "git-compat-util.h"
55
#include "alloc.h"
66
#include "config.h"
7+
#include "hex.h"
78
#include "tar.h"
89
#include "archive.h"
910
#include "object-store.h"

archive-zip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "cache.h"
55
#include "config.h"
66
#include "archive.h"
7+
#include "hex.h"
78
#include "streaming.h"
89
#include "utf8.h"
910
#include "object-store.h"

archive.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "git-compat-util.h"
22
#include "alloc.h"
33
#include "config.h"
4+
#include "hex.h"
45
#include "refs.h"
56
#include "object-store.h"
67
#include "commit.h"

bisect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "config.h"
33
#include "commit.h"
44
#include "diff.h"
5+
#include "hex.h"
56
#include "revision.h"
67
#include "refs.h"
78
#include "list-objects.h"

blame.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "mergesort.h"
66
#include "diff.h"
77
#include "diffcore.h"
8+
#include "hex.h"
89
#include "tag.h"
910
#include "blame.h"
1011
#include "alloc.h"

branch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "cache.h"
33
#include "config.h"
44
#include "branch.h"
5+
#include "hex.h"
56
#include "refs.h"
67
#include "refspec.h"
78
#include "remote.h"

builtin/am.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "config.h"
99
#include "builtin.h"
1010
#include "exec-cmd.h"
11+
#include "hex.h"
1112
#include "parse-options.h"
1213
#include "dir.h"
1314
#include "run-command.h"

builtin/bisect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "builtin.h"
22
#include "cache.h"
3+
#include "hex.h"
34
#include "parse-options.h"
45
#include "bisect.h"
56
#include "refs.h"

0 commit comments

Comments
 (0)