Skip to content

Commit d5ebb50

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

Some content is hidden

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

68 files changed

+103
-34
lines changed

apply.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "rerere.h"
2727
#include "apply.h"
2828
#include "entry.h"
29+
#include "wrapper.h"
2930

3031
struct gitdiff_data {
3132
struct strbuf *root;

builtin/am.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include "packfile.h"
3939
#include "repository.h"
4040
#include "pretty.h"
41+
#include "wrapper.h"
4142

4243
/**
4344
* Returns the length of the first line of msg.

builtin/bisect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "prompt.h"
1212
#include "quote.h"
1313
#include "revision.h"
14+
#include "wrapper.h"
1415

1516
static GIT_PATH_FUNC(git_path_bisect_terms, "BISECT_TERMS")
1617
static GIT_PATH_FUNC(git_path_bisect_expected_rev, "BISECT_EXPECTED_REV")

builtin/branch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "worktree.h"
2727
#include "help.h"
2828
#include "commit-reach.h"
29+
#include "wrapper.h"
2930

3031
static const char * const builtin_branch_usage[] = {
3132
N_("git branch [<options>] [-r | -a] [--merged] [--no-merged]"),

builtin/bugreport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "hook.h"
99
#include "hook-list.h"
1010
#include "diagnose.h"
11-
11+
#include "wrapper.h"
1212

1313
static void get_system_info(struct strbuf *sys_info)
1414
{

builtin/config.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "urlmatch.h"
1010
#include "quote.h"
1111
#include "worktree.h"
12+
#include "wrapper.h"
1213

1314
static const char *const builtin_config_usage[] = {
1415
N_("git config [<options>]"),

builtin/credential-cache.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 "gettext.h"
33
#include "parse-options.h"
4+
#include "wrapper.h"
45

56
#ifndef NO_UNIX_SOCKETS
67

builtin/difftool.c

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

3132
static int trust_exit_code;
3233

builtin/fast-import.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "commit-reach.h"
2424
#include "khash.h"
2525
#include "date.h"
26+
#include "wrapper.h"
2627

2728
#define PACK_ID_BITS 16
2829
#define MAX_PACK_ID ((1<<PACK_ID_BITS)-1)

builtin/fmt-merge-msg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "fmt-merge-msg.h"
44
#include "gettext.h"
55
#include "parse-options.h"
6+
#include "wrapper.h"
67

78
static const char * const fmt_merge_msg_usage[] = {
89
N_("git fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] [--file <file>]"),

0 commit comments

Comments
 (0)