Re: [PATCH 10/10] submodule--helper clone: check for configured submodules using helper

2017-02-27 Thread Brandon Williams
On 02/23, Stefan Beller wrote: > On Thu, Feb 23, 2017 at 3:47 PM, Brandon Williams wrote: > > > @@ -795,14 +794,11 @@ static int prepare_to_clone_next_submodule(const > > struct cache_entry *ce, > > } > > > > /* > > -* Looking up the url in

Re: [PATCH 10/10] submodule--helper clone: check for configured submodules using helper

2017-02-23 Thread Stefan Beller
On Thu, Feb 23, 2017 at 3:47 PM, Brandon Williams wrote: > @@ -795,14 +794,11 @@ static int prepare_to_clone_next_submodule(const struct > cache_entry *ce, > } > > /* > -* Looking up the url in .git/config. > +* Check if the submodule has been

[PATCH 10/10] submodule--helper clone: check for configured submodules using helper

2017-02-23 Thread Brandon Williams
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 --- builtin/submodule--helper.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-)