Re: [PATCH 4/4] submodule: port submodule subcommand 'foreach' from shell to C
Stefan Bellerwrites: > +static void runcommand_in_submodule_cb(const struct cache_entry *list_item, > +void *cb_data) > +{ > + struct cb_foreach *info = cb_data; > + const char *path = list_item->name; > + const struct
[PATCH 4/4] submodule: port submodule subcommand 'foreach' from shell to C
From: Prathamesh ChavanThis aims to make git-submodule foreach a builtin. 'foreach' is ported to the submodule--helper, and submodule--helper is called from git-submodule.sh. Helped-by: Brandon Williams Mentored-by: Christian Couder