aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2009-12-26 01:12:05 +0800
committerJunio C Hamano <gitster@pobox.com>2009-12-28 18:49:19 -0800
commit65273bfb9b6991138d298527d971e82e28fe678e (patch)
treec570df29e8e9abbd0f05db3d037f529465fd6b4b
parent488c316334bd9e4e75d4852a50b834298b8cf64d (diff)
downloadgit-65273bfb9b6991138d298527d971e82e28fe678e.tar.gz
git-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 caf302503..2d8bf5120 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,