On Fri, Jun 30, 2017 at 12:47 PM, Prathamesh Chavan <pc44800@xxxxxxxxx> wrote: > 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 three functions: module_sync(), > sync_submodule() and print_default_remote(). > > The function print_default_remote() is introduced for getting > the default remote as stdout. > > Mentored-by: Christian Couder <christian.couder@xxxxxxxxx> > Mentored-by: Stefan Beller <sbeller@xxxxxxxxxx> > Signed-off-by: Prathamesh Chavan <pc44800@xxxxxxxxx> > --- All these patches are also Reviewed-by: Stefan Beller <sbeller@xxxxxxxxxx> Thanks for upstreaming the early parts. Thanks, Stefan