diff options
author | Brandon Williams <bmwill@google.com> | 2017-06-14 11:07:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-15 12:56:22 -0700 |
commit | b2141fc1d20e659810245ec6ca1c143c60e033ec (patch) | |
tree | 12230b8b41fc2786e74a95809a5c3c2256266ceb /builtin/init-db.c | |
parent | config: remove git_config_iter (diff) | |
download | tgif-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 'builtin/init-db.c')
-rw-r--r-- | builtin/init-db.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/init-db.c b/builtin/init-db.c index 8a6acb0ec6..47823f9aa4 100644 --- a/builtin/init-db.c +++ b/builtin/init-db.c @@ -4,6 +4,7 @@ * Copyright (C) Linus Torvalds, 2005 */ #include "cache.h" +#include "config.h" #include "refs.h" #include "builtin.h" #include "exec_cmd.h" |