diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-06-24 14:28:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-24 14:28:41 -0700 |
commit | f31d23a399d557d687266b4375a0436f920cc051 (patch) | |
tree | 4f163d684ab6b66476e8795a7ea4fce4f2aa5037 /builtin/reset.c | |
parent | Merge branch 'bw/ls-files-sans-the-index' (diff) | |
parent | config: don't implicitly use gitdir or commondir (diff) | |
download | tgif-f31d23a399d557d687266b4375a0436f920cc051.tar.xz |
Merge branch 'bw/config-h'
Fix configuration codepath to pay proper attention to commondir
that is used in multi-worktree situation, and isolate config API
into its own header file.
* bw/config-h:
config: don't implicitly use gitdir or commondir
config: respect commondir
setup: teach discover_git_directory to respect the commondir
config: don't include config.h by default
config: remove git_config_iter
config: create config.h
Diffstat (limited to 'builtin/reset.c')
-rw-r--r-- | builtin/reset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/reset.c b/builtin/reset.c index 45001e5200..7aeaea2737 100644 --- a/builtin/reset.c +++ b/builtin/reset.c @@ -8,6 +8,7 @@ * Copyright (c) 2005, 2006 Linus Torvalds and Junio C Hamano */ #include "builtin.h" +#include "config.h" #include "lockfile.h" #include "tag.h" #include "object.h" |