]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ef/maint-clone-progress-fix' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 14 May 2012 18:41:40 +0000 (11:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 May 2012 18:41:40 +0000 (11:41 -0700)
Some time ago, "git clone" lost the progress output for its "checkout"
phase; when run without any "--quiet" option, it should give progress to
the lengthy operation.

By Erik Faye-Lund
* ef/maint-clone-progress-fix:
  clone: fix progress-regression

builtin/clone.c

index bbd5c96237fc332e159face6c8678d8ae3b9a3e9..a4d8d25ee319c2bbcfe5b450468cfb41d3fcd0d6 100644 (file)
@@ -569,7 +569,7 @@ static int checkout(void)
        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;