diff options
author | Heiko Voigt <hvoigt@hvoigt.net> | 2015-08-18 03:21:59 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-19 21:43:10 +0300 |
commit | 851e18c3859ad0f9f7e91fdb4d6cce5a8272420b (patch) | |
tree | 174141bad5af8da81d0eb6272584eadfa1906c74 /builtin/checkout.c | |
parent | 0d9f282c943a0799999176a2d8291ecbad060389 (diff) |
submodule: use new config API for worktree configurations
We remove the extracted functions and directly parse into and read out
of the cache. This allows us to have one unified way of accessing
submodule configuration values specific to single submodules. Regardless
whether we need to access a configuration from history or from the
worktree.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout.c')
-rw-r--r-- | builtin/checkout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index 2f92328db4..f1f168d2f6 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -18,6 +18,7 @@ #include "xdiff-interface.h" #include "ll-merge.h" #include "resolve-undo.h" +#include "submodule-config.h" #include "submodule.h" #include "argv-array.h" #include "sigchain.h" |