]> Sergey Matveev's repositories - public-inbox.git/commitdiff
v2writable: show newline after "indexing all of .. " message
authorEric Wong <e@yhbt.net>
Tue, 11 Aug 2020 19:52:02 +0000 (19:52 +0000)
committerEric Wong <e@yhbt.net>
Wed, 19 Aug 2020 19:01:42 +0000 (19:01 +0000)
Otherwise things get very confusing when verbosity is enabled :x

lib/PublicInbox/V2Writable.pm

index d99e476aa9b3ba2319231bee6691b436aeaeec3c..9c2002886b16e8da4cf99db0ca3f71e42b979033 100644 (file)
@@ -995,7 +995,7 @@ sub log_range ($$$$$) {
        my $opt = $sync->{-opt};
        my $pr = $opt->{-progress} if (($opt->{verbose} || 0) > 1);
        my $cur = $sync->{ranges}->[$i] or do {
-               $pr->("$i.git indexing all of $tip") if $pr;
+               $pr->("$i.git indexing all of $tip\n") if $pr;
                return $tip; # all of it
        };