summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-14 18:07:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-06-15 19:56:22 (GMT)
commitb2141fc1d20e659810245ec6ca1c143c60e033ec (patch)
tree12230b8b41fc2786e74a95809a5c3c2256266ceb /fast-import.c
parentf1c985da05c136414c10f034cdc09bdb6939cb8f (diff)
downloadgit-b2141fc1d20e659810245ec6ca1c143c60e033ec.zip
git-b2141fc1d20e659810245ec6ca1c143c60e033ec.tar.gz
git-b2141fc1d20e659810245ec6ca1c143c60e033ec.tar.bz2
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 'fast-import.c')
-rw-r--r--fast-import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fast-import.c b/fast-import.c
index cf58f87..bbc3e79 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -154,6 +154,7 @@ Format of STDIN stream:
#include "builtin.h"
#include "cache.h"
+#include "config.h"
#include "lockfile.h"
#include "object.h"
#include "blob.h"