On 06/20, Prathamesh Chavan wrote: > The mechanism used for porting submodule subcommand 'status' > is similar to that used for subcommand 'foreach'. nit: since 'foreach' is stalled atm it may be confusing to reference that change when it hasn't been merged in yet. > The function cmd_status from git-submodule is ported to three > functions in the builtin submodule--helper namely: module_status, > for_each_submodule_list and status_submodule. > > print_status is also introduced for handling the output of > the subcommand and also to reduce the code size. > > Mentored-by: Christian Couder <christian.couder@xxxxxxxxx> > Mentored-by: Stefan Beller <sbeller@xxxxxxxxxx> > Signed-off-by: Prathamesh Chavan <pc44800@xxxxxxxxx> -- Brandon Williams