Skip to content

Commit dabab1d

Browse files
newrengitster
authored andcommitted
object-name.h: move declarations for object-name.c functions from cache.h
Signed-off-by: Elijah Newren <[email protected]> Acked-by: Calvin Wan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5579f44 commit dabab1d

Some content is hidden

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

91 files changed

+210
-110
lines changed

add-patch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "alloc.h"
55
#include "environment.h"
66
#include "gettext.h"
7+
#include "object-name.h"
78
#include "strbuf.h"
89
#include "run-command.h"
910
#include "strvec.h"

apply.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "xdiff-interface.h"
2323
#include "ll-merge.h"
2424
#include "lockfile.h"
25+
#include "object-name.h"
2526
#include "parse-options.h"
2627
#include "quote.h"
2728
#include "rerere.h"

archive.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define ARCHIVE_H
33

44
#include "cache.h"
5+
#include "object-name.h"
56
#include "pathspec.h"
67

78
struct repository;

bisect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "strvec.h"
1818
#include "commit-slab.h"
1919
#include "commit-reach.h"
20+
#include "object-name.h"
2021
#include "object-store.h"
2122
#include "dir.h"
2223

branch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "environment.h"
77
#include "gettext.h"
88
#include "hex.h"
9+
#include "object-name.h"
910
#include "refs.h"
1011
#include "refspec.h"
1112
#include "remote.h"

builtin/am.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "diffcore.h"
2828
#include "unpack-trees.h"
2929
#include "branch.h"
30+
#include "object-name.h"
3031
#include "sequencer.h"
3132
#include "revision.h"
3233
#include "merge-recursive.h"

builtin/bisect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "environment.h"
44
#include "gettext.h"
55
#include "hex.h"
6+
#include "object-name.h"
67
#include "parse-options.h"
78
#include "bisect.h"
89
#include "refs.h"

builtin/blame.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include "line-log.h"
2929
#include "dir.h"
3030
#include "progress.h"
31+
#include "object-name.h"
3132
#include "object-store.h"
3233
#include "blame.h"
3334
#include "refs.h"

builtin/branch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "commit.h"
1414
#include "builtin.h"
1515
#include "gettext.h"
16+
#include "object-name.h"
1617
#include "remote.h"
1718
#include "parse-options.h"
1819
#include "branch.h"

builtin/cat-file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "tree-walk.h"
2121
#include "oid-array.h"
2222
#include "packfile.h"
23+
#include "object-name.h"
2324
#include "object-store.h"
2425
#include "replace-object.h"
2526
#include "promisor-remote.h"

0 commit comments

Comments
 (0)