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:
Tay Ray Chuan 2009-12-26 01:12:05 +08:00 committed by Junio C Hamano
parent 488c316334
commit 65273bfb9b

View file

@ -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,