summaryrefslogtreecommitdiff
path: root/builtin/clone.c
diff options
context:
space:
mode:
authorErik Faye-Lund <kusmabite@gmail.com>2012-05-07 19:23:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-05-07 19:32:10 (GMT)
commit481ed2360295f6f5cea43aabb138eaae52539c1e (patch)
tree19aca8b68ea49b83698cb0171cec93f9938f96da /builtin/clone.c
parentf174a2583c9f42315b60205890fa67a79a1f1669 (diff)
downloadgit-481ed2360295f6f5cea43aabb138eaae52539c1e.zip
git-481ed2360295f6f5cea43aabb138eaae52539c1e.tar.gz
git-481ed2360295f6f5cea43aabb138eaae52539c1e.tar.bz2
clone: fix progress-regression
In 5bd631b3 ("clone: support multiple levels of verbosity"), the default behavior to show progress of the implicit checkout in the clone-command regressed so that progress was only shown if the verbose-option was specified. Fix this by making option_verbosity == 0 output progress as well. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/clone.c')
-rw-r--r--builtin/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index 5f20082..87f2657 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -732,7 +732,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
opts.update = 1;
opts.merge = 1;
opts.fn = oneway_merge;
- opts.verbose_update = (option_verbosity > 0);
+ opts.verbose_update = (option_verbosity >= 0);
opts.src_index = &the_index;
opts.dst_index = &the_index;