From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 6F4841F8ED for ; Fri, 24 Jul 2020 05:56:08 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 07/20] v2writable: drop "EPOCH.git indexing $RANGE" progress Date: Fri, 24 Jul 2020 05:55:53 +0000 Message-Id: <20200724055606.27332-8-e@yhbt.net> In-Reply-To: <20200724055606.27332-1-e@yhbt.net> References: <20200724055606.27332-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: It'll be one continuous range with IdxStack. --- lib/PublicInbox/V2Writable.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm index 50582266b..2ff2fc259 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') {