From 91a9eaab69a1984b10a72b4321e1d890fddd2ba0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 24 Jul 2020 05:55:53 +0000 Subject: v2writable: drop "EPOCH.git indexing $RANGE" progress It'll be one continuous range with IdxStack. --- lib/PublicInbox/V2Writable.pm | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/PublicInbox') diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index 50582266..2ff2fc25 100644 --- a/lib/PublicInbox/V2Writable.pm +++ b/lib/PublicInbox/V2Writable.pm @@ -1095,8 +1095,6 @@ sub sync_prepare ($$$) { next if $?; # new repo my $range = log_range($self, $sync, $git, $i, $tip) or next; - $sync->{ranges}->[$i] = $range; - # can't use 'rev-list --count' if we use --diff-filter $pr->("$i.git counting $range ... ") if $pr; my $stk = prepare_range_stack($git, $sync, $range); @@ -1218,10 +1216,6 @@ sub index_epoch ($$$) { } defined(my $stk = $sync->{stacks}->[$i]) or return; $sync->{stacks}->[$i] = undef; - my $range = $sync->{ranges}->[$i]; - if (my $pr = $sync->{-opt}->{-progress}) { - $pr->("$i.git indexing $range\n"); - } while (my ($f, $at, $ct, $oid) = $stk->pop_rec) { $self->{current_info} = "$i.git $oid"; if ($f eq 'm') { -- cgit v1.2.3-24-ge0c7