submodule: use the 'submodule--helper config' command
commitb2faad44e2686cb996b9bf2a2dd22f787fc05f16
authorAntonio Ospite <ao2@ao2.it>
Fri, 5 Oct 2018 13:05:57 +0000 (5 15:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Oct 2018 03:40:21 +0000 (9 12:40 +0900)
tree70a840edc1fc3114d91dcc5cbac8e3207ef73bfb
parent2502ffc0cf3c4db2a3cad13415a118b4becce0dd
submodule: use the 'submodule--helper config' command

Use the 'submodule--helper config' command in git-submodules.sh to avoid
referring explicitly to .gitmodules by the hardcoded file path.

This makes it possible to access the submodules configuration in a more
controlled way.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh