submodule--helper clone: check for configured submodules using helper
commitee92ab992fada00ca945bddce5c281ca0927747c
authorBrandon Williams <bmwill@google.com>
Thu, 16 Mar 2017 22:29:47 +0000 (16 15:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Mar 2017 18:06:09 +0000 (17 11:06 -0700)
treedc89e9995fc93817b14e1a865d5ce1a5a0d2cea4
parent25b31f1b73331d3d9e90a72c34e514795e98c174
submodule--helper clone: check for configured submodules using helper

Use the 'is_submodule_initialized()' helper to check for configured
submodules instead of manually checking for the submodule's URL in the
config.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c