]> git.ipfire.org Git - thirdparty/git.git/commit - config.h
config: add config_from_gitmodules
authorBrandon Williams <bmwill@google.com>
Wed, 2 Aug 2017 19:49:17 +0000 (12:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Aug 2017 21:26:46 +0000 (14:26 -0700)
commitb22e51cb26bc93bd1548950e61970a9973e04b70
treea9f4a6e1d69b52f3c6775e50853080e6b9e0f2fe
parent4c0eeafe4755345b0f4636bf09904cf689703e11
config: add config_from_gitmodules

Add 'config_from_gitmodules()' function which can be used by 'fetch' and
'update_clone' in order to maintain backwards compatibility with
configuration being stored in .gitmodules' since a future patch will
remove reading these values in the submodule-config.

This function should not be used anywhere other than in 'fetch' and
'update_clone'.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
config.h