-
- Downloads
submodule: port submodule subcommand 'sync' from shell to C
Port the submodule subcommand 'sync' from shell to C using the same mechanism as that used for porting submodule subcommand 'status'. Hence, here the function cmd_sync() is ported from shell to C. This is done by introducing four functions: module_sync(), sync_submodule(), sync_submodule_cb() and print_default_remote(). The function print_default_remote() is introduced for getting the default remote as stdout. Mentored-by:Christian Couder <christian.couder@gmail.com> Mentored-by:
Stefan Beller <sbeller@google.com> Signed-off-by:
Prathamesh Chavan <pc44800@gmail.com> Signed-off-by:
Junio C Hamano <gitster@pobox.com>
Please register or sign in to comment