Re: [PATCH 1/4] submodule: implement `module_list` as a builtin helper

2015-08-07 Thread Junio C Hamano
Stefan Beller writes: > diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c > new file mode 100644 > index 000..cb18ddf > --- /dev/null > +++ b/builtin/submodule--helper.c > @@ -0,0 +1,111 @@ > + ... > +static char *ps_matched; > +static const struct cache_entry **ce_entrie

Re: [PATCH 1/4] submodule: implement `module_list` as a builtin helper

2015-08-05 Thread Jens Lehmann
Am 05.08.2015 um 02:04 schrieb Stefan Beller: Most of the submodule operations work on a set of submodules. Calculating and using this set is usually done via: module_list "$@" | { while read mode sha1 stage sm_path do # the actual operation

[PATCH 1/4] submodule: implement `module_list` as a builtin helper

2015-08-04 Thread Stefan Beller
Most of the submodule operations work on a set of submodules. Calculating and using this set is usually done via: module_list "$@" | { while read mode sha1 stage sm_path do # the actual operation done } Currently the function `module_