Re: [PATCHv19 09/11] git submodule update: have a dedicated helper for cloning

2016-02-29 Thread Stefan Beller
On Sat, Feb 27, 2016 at 12:40 AM, Duy Nguyen wrote: > On Fri, Feb 26, 2016 at 6:48 AM, Stefan Beller wrote: >> +static int prepare_to_clone_next_submodule(const struct cache_entry *ce, >> + struct child_process *child, >> +

Re: [PATCHv19 09/11] git submodule update: have a dedicated helper for cloning

2016-02-27 Thread Duy Nguyen
On Fri, Feb 26, 2016 at 6:48 AM, Stefan Beller wrote: > +static int prepare_to_clone_next_submodule(const struct cache_entry *ce, > + struct child_process *child, > + struct submodule_update_clone *suc, > +

[PATCHv19 09/11] git submodule update: have a dedicated helper for cloning

2016-02-25 Thread Stefan Beller
This introduces a new helper function in git submodule--helper which takes care of cloning all submodules, which we want to parallelize eventually. Some tests (such as empty URL, update_mode=none) are required in the helper to make the decision for cloning. These checks have been moved into the C