clone: set transport->verbose when -v/--verbose is used
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
488c316334
commit
65273bfb9b
@ -524,8 +524,10 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
|
||||
|
||||
if (option_quiet)
|
||||
transport->verbose = -1;
|
||||
else if (option_verbose)
|
||||
else if (option_verbose) {
|
||||
transport->verbose = 1;
|
||||
transport->progress = 1;
|
||||
}
|
||||
|
||||
if (option_upload_pack)
|
||||
transport_set_option(transport, TRANS_OPT_UPLOADPACK,
|
||||
|
Loading…
Reference in New Issue
Block a user