Skip to content

Commit

Permalink
clone: set transport->verbose when -v/--verbose is used
Browse files Browse the repository at this point in the history
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Tay Ray Chuan authored and Junio C Hamano committed Dec 29, 2009
1 parent 488c316 commit 65273bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion builtin-clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 65273bf

Please sign in to comment.