Re: [GSoC][PATCH v6 2/2] submodule: port subcommand foreach from shell to C

2017-06-04 Thread Prathamesh Chavan
On Sat, Jun 3, 2017 at 7:43 AM, Stefan Beller wrote: > On Fri, Jun 2, 2017 at 4:24 AM, Prathamesh Chavan wrote: >> This aims to make git-submodule foreach a builtin. This is the very >> first step taken in this direction. Hence, 'foreach' is ported to >> submodule--helper, and submodule--helper i

Re: [GSoC][PATCH v6 2/2] submodule: port subcommand foreach from shell to C

2017-06-02 Thread Stefan Beller
On Fri, Jun 2, 2017 at 4:24 AM, Prathamesh Chavan wrote: > This aims to make git-submodule foreach a builtin. This is the very > first step taken in this direction. Hence, 'foreach' is ported to > submodule--helper, and submodule--helper is called from git-submodule.sh. > The code is split up to h

[GSoC][PATCH v6 2/2] submodule: port subcommand foreach from shell to C

2017-06-02 Thread Prathamesh Chavan
This aims to make git-submodule foreach a builtin. This is the very first step taken in this direction. Hence, 'foreach' is ported to submodule--helper, and submodule--helper is called from git-submodule.sh. The code is split up to have one function to obtain all the list of submodules. This functi