diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2009-12-26 01:12:05 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-28 18:49:19 -0800 |
commit | 65273bfb9b6991138d298527d971e82e28fe678e (patch) | |
tree | c570df29e8e9abbd0f05db3d037f529465fd6b4b /builtin-clone.c | |
parent | git-clone.txt: reword description of progress behaviour (diff) | |
download | tgif-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>
Diffstat (limited to 'builtin-clone.c')
-rw-r--r-- | builtin-clone.c | 4 |
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, |