Skip to content

Commit 65273bf

Browse files
rctaygitster
authored andcommitted
clone: set transport->verbose when -v/--verbose is used
Signed-off-by: Tay Ray Chuan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 488c316 commit 65273bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builtin-clone.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,10 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
524524

525525
if (option_quiet)
526526
transport->verbose = -1;
527-
else if (option_verbose)
527+
else if (option_verbose) {
528+
transport->verbose = 1;
528529
transport->progress = 1;
530+
}
529531

530532
if (option_upload_pack)
531533
transport_set_option(transport, TRANS_OPT_UPLOADPACK,

0 commit comments

Comments
 (0)