[GSoC][PATCH v4 4/4] submodule: port submodule subcommand 'status' from shell to C

2017-09-21 Thread Han-Wen Nienhuys
+ const char *const git_submodule_helper_usage[] = { + N_("git submodule status [--quiet] [--cached] [--recursive] []"), + NULL the manpage over here says git submodule [--quiet] status [--cached] [--recursive] [--] [...] ie. multiple path arguments. Should t

[GSoC][PATCH v4 4/4] submodule: port submodule subcommand 'status' from shell to C

2017-08-28 Thread Prathamesh Chavan
This aims to make git-submodule 'status' a built-in. Hence, the function cmd_status() is ported from shell to C. This is done by introducing three functions: module_status(), submodule_status() and print_status(). The function module_status() acts as the front-end of the subcommand. It parses subc