Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 481ed23

Browse files
kusmagitster
authored andcommitted
clone: fix progress-regression
In 5bd631b ("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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f174a25 commit 481ed23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/clone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
732732
opts.update = 1;
733733
opts.merge = 1;
734734
opts.fn = oneway_merge;
735-
opts.verbose_update = (option_verbosity > 0);
735+
opts.verbose_update = (option_verbosity >= 0);
736736
opts.src_index = &the_index;
737737
opts.dst_index = &the_index;
738738

0 commit comments

Comments
 (0)