submodule: use new config API for worktree configurations
authorHeiko Voigt <hvoigt@hvoigt.net>
Tue, 18 Aug 2015 00:21:59 +0000 (17:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2015 18:43:10 +0000 (11:43 -0700)
commit851e18c3859ad0f9f7e91fdb4d6cce5a8272420b
tree174141bad5af8da81d0eb6272584eadfa1906c74
parent0d9f282c943a0799999176a2d8291ecbad060389
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>
Documentation/technical/api-submodule-config.txt
builtin/checkout.c
diff.c
submodule-config.c
submodule-config.h
submodule.c
submodule.h
t/t7411-submodule-config.sh
test-submodule-config.c