Skip to content

Commit e38da48

Browse files
newrengitster
authored andcommitted
setup.h: move declarations for setup.c functions from cache.h
Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9875058 commit e38da48

Some content is hidden

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

105 files changed

+271
-164
lines changed

apply.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "rerere.h"
2828
#include "apply.h"
2929
#include "entry.h"
30+
#include "setup.h"
3031
#include "wrapper.h"
3132

3233
struct gitdiff_data {

archive.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "environment.h"
66
#include "gettext.h"
77
#include "hex.h"
8+
#include "setup.h"
89
#include "refs.h"
910
#include "object-store.h"
1011
#include "commit.h"

attr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "quote.h"
1919
#include "revision.h"
2020
#include "object-store.h"
21+
#include "setup.h"
2122
#include "thread-utils.h"
2223

2324
const char git_attr__true[] = "(builtin)true";

blame.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "diffcore.h"
88
#include "gettext.h"
99
#include "hex.h"
10+
#include "setup.h"
1011
#include "tag.h"
1112
#include "blame.h"
1213
#include "alloc.h"

builtin/blame.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include "object-store.h"
3232
#include "blame.h"
3333
#include "refs.h"
34+
#include "setup.h"
3435
#include "tag.h"
3536

3637
static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");

builtin/bugreport.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "hook.h"
99
#include "hook-list.h"
1010
#include "diagnose.h"
11+
#include "setup.h"
1112
#include "wrapper.h"
1213

1314
static void get_system_info(struct strbuf *sys_info)

builtin/bundle.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "builtin.h"
22
#include "abspath.h"
33
#include "gettext.h"
4+
#include "setup.h"
45
#include "strvec.h"
56
#include "parse-options.h"
67
#include "cache.h"

builtin/check-attr.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 "quote.h"
9+
#include "setup.h"
910
#include "parse-options.h"
1011

1112
static int all_attrs;

builtin/check-ref-format.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "cache.h"
66
#include "refs.h"
77
#include "builtin.h"
8+
#include "setup.h"
89
#include "strbuf.h"
910

1011
static const char builtin_check_ref_format_usage[] =

builtin/checkout-index.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "parse-options.h"
1616
#include "entry.h"
1717
#include "parallel-checkout.h"
18+
#include "setup.h"
1819

1920
#define CHECKOUT_ALL 4
2021
static int nul_term_line;

0 commit comments

Comments
 (0)