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>
Erik Faye-Lund committed
May 7, 2012 at 21:23 UTC
481ed2360295f6f5cea43aabb138eaae52539c1e
1 file changed
+1
-1
builtin/clone.c
+1
-1
@@ -732,7 +732,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
732
opts.update = 1;
733
opts.merge = 1;
734
opts.fn = oneway_merge;
735
- opts.verbose_update = (option_verbosity > 0);
735
+ opts.verbose_update = (option_verbosity >= 0);
736
opts.src_index = &the_index;
737
opts.dst_index = &the_index;
738