Skip to content

Commit 6ba0414

Browse files
committed
Merge branch 'bw/config-h'
This backports f31d23a (Merge branch 'bw/config-h', 2017-06-24) from upstream Git's `master` branch, plus a patch that seems to be required to let the test suite pass. This topic branch fixes problems when looking up aliases in worktrees. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2 parents aaf5c76 + f4e9350 commit 6ba0414

File tree

147 files changed

+398
-228
lines changed

Some content is hidden

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

147 files changed

+398
-228
lines changed

advice.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "cache.h"
2+
#include "config.h"
23

34
int advice_push_update_rejected = 1;
45
int advice_push_non_ff_current = 1;

alias.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "cache.h"
2+
#include "config.h"
23

34
struct config_alias_data {
45
const char *alias;

apply.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99

1010
#include "cache.h"
11+
#include "config.h"
1112
#include "blob.h"
1213
#include "delta.h"
1314
#include "diff.h"

archive-tar.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright (c) 2005, 2006 Rene Scharfe
33
*/
44
#include "cache.h"
5+
#include "config.h"
56
#include "tar.h"
67
#include "archive.h"
78
#include "streaming.h"

archive-zip.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright (c) 2006 Rene Scharfe
33
*/
44
#include "cache.h"
5+
#include "config.h"
56
#include "archive.h"
67
#include "streaming.h"
78
#include "utf8.h"

archive.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "cache.h"
2+
#include "config.h"
23
#include "refs.h"
34
#include "commit.h"
45
#include "tree-walk.h"

attr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#define NO_THE_INDEX_COMPATIBILITY_MACROS
1111
#include "cache.h"
12+
#include "config.h"
1213
#include "exec_cmd.h"
1314
#include "attr.h"
1415
#include "dir.h"

bisect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "cache.h"
2+
#include "config.h"
23
#include "commit.h"
34
#include "diff.h"
45
#include "revision.h"

branch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "git-compat-util.h"
22
#include "cache.h"
3+
#include "config.h"
34
#include "branch.h"
45
#include "refs.h"
56
#include "remote.h"

builtin/add.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright (C) 2006 Linus Torvalds
55
*/
66
#include "cache.h"
7+
#include "config.h"
78
#include "builtin.h"
89
#include "lockfile.h"
910
#include "dir.h"

0 commit comments

Comments
 (0)