aboutsummaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-14 11:07:36 -0700
committerJunio C Hamano <gitster@pobox.com>2017-06-15 12:56:22 -0700
commitb2141fc1d20e659810245ec6ca1c143c60e033ec (patch)
tree12230b8b41fc2786e74a95809a5c3c2256266ceb /t/helper
parentf1c985da05c136414c10f034cdc09bdb6939cb8f (diff)
downloadgit-b2141fc1d20e659810245ec6ca1c143c60e033ec.tar.gz
git-b2141fc1d20e659810245ec6ca1c143c60e033ec.tar.xz
config: don't include config.h by default
Stop including config.h by default in cache.h. Instead only include config.h in those files which require use of the config system. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-config.c1
-rw-r--r--t/helper/test-submodule-config.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/t/helper/test-config.c b/t/helper/test-config.c
index 8e3ed6a76..1a7b8bd3d 100644
--- a/t/helper/test-config.c
+++ b/t/helper/test-config.c
@@ -1,4 +1,5 @@
#include "cache.h"
+#include "config.h"
#include "string-list.h"
/*
diff --git a/t/helper/test-submodule-config.c b/t/helper/test-submodule-config.c
index 2f144d539..c6c57bba0 100644
--- a/t/helper/test-submodule-config.c
+++ b/t/helper/test-submodule-config.c
@@ -1,4 +1,5 @@
#include "cache.h"
+#include "config.h"
#include "submodule-config.h"
#include "submodule.h"