summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Tay Ray Chuan <rctay89@gmail.com>2009-12-26 01:12:05 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-12-28 18:49:19 -0800
commit65273bfb9b6991138d298527d971e82e28fe678e (patch)
treec570df29e8e9abbd0f05db3d037f529465fd6b4b
parentgit-clone.txt: reword description of progress behaviour (diff)
downloadtgif-65273bfb9b6991138d298527d971e82e28fe678e.tar.xz
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>
-rw-r--r--builtin-clone.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/builtin-clone.c b/builtin-clone.c
index caf3025031..2d8bf5120e 100644
--- a/builtin-clone.c
+++ b/builtin-clone.c
@@ -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,