summaryrefslogtreecommitdiffstats
path: root/builtin/var.c
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-14 20:07:36 +0200
committerJunio C Hamano <gitster@pobox.com>2017-06-15 21:56:22 +0200
commitb2141fc1d20e659810245ec6ca1c143c60e033ec (patch)
tree12230b8b41fc2786e74a95809a5c3c2256266ceb /builtin/var.c
parentconfig: remove git_config_iter (diff)
downloadgit-b2141fc1d20e659810245ec6ca1c143c60e033ec.tar.xz
git-b2141fc1d20e659810245ec6ca1c143c60e033ec.zip
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 'builtin/var.c')
-rw-r--r--builtin/var.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/var.c b/builtin/var.c
index aedbb53a2d..6c6f46b4ae 100644
--- a/builtin/var.c
+++ b/builtin/var.c
@@ -4,6 +4,7 @@
* Copyright (C) Eric Biederman, 2005
*/
#include "builtin.h"
+#include "config.h"
static const char var_usage[] = "git var (-l | <variable>)";