about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-07-24 05:55:53 +0000
committerEric Wong <e@yhbt.net>2020-07-25 20:48:18 +0000
commit91a9eaab69a1984b10a72b4321e1d890fddd2ba0 (patch)
treed274c5e8120f4a049eb3a41bb56349ed01ce757e /lib/PublicInbox
parent0cae91a6011ae745ff57869e2e5bc2c7b13f6743 (diff)
downloadpublic-inbox-91a9eaab69a1984b10a72b4321e1d890fddd2ba0.tar.gz
It'll be one continuous range with IdxStack.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/V2Writable.pm6
1 files changed, 0 insertions, 6 deletions
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') {