Prathamesh Chavan writes:
> + /* remove the submodule work tree (unless the user already did it) */
> + if (is_directory(path)) {
> + struct strbuf sb_rm = STRBUF_INIT;
> + const char *format;
> +
> + /*
> + * protect
The same mechanism is used even for porting this submodule
subcommand, as used in the ported subcommands till now.
The function cmd_deinit in split up after porting into four
functions: module_deinit(), for_each_listed_submodule(),
deinit_submodule() and deinit_submodule_cb().
Mentored-by:
2 matches
Mail list logo