about summary refs log tree commit homepage
path: root/lib/PublicInbox/V2Writable.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-10-27 07:54:25 +0000
committerEric Wong <e@80x24.org>2020-11-07 10:18:57 +0000
commit9ed4b47f4e245a08e42cc946235808a73fbc1aef (patch)
treeb074a56d656d39a3330a6e149829685c8ae19b42 /lib/PublicInbox/V2Writable.pm
parente0ee07820a1b580ee1b755c9f9ec3c87e00727d9 (diff)
downloadpublic-inbox-9ed4b47f4e245a08e42cc946235808a73fbc1aef.tar.gz
Since we store {ibx} in $sync state, we no longer have to
pass it as an argument to log2stack.
Diffstat (limited to 'lib/PublicInbox/V2Writable.pm')
-rw-r--r--lib/PublicInbox/V2Writable.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/V2Writable.pm b/lib/PublicInbox/V2Writable.pm
index 867e4d2b..a403f22f 100644
--- a/lib/PublicInbox/V2Writable.pm
+++ b/lib/PublicInbox/V2Writable.pm
@@ -1051,7 +1051,7 @@ sub sync_prepare ($$$) {
                 # because we want NNTP article number gaps from unindexed
                 # messages to show up in mirrors, too.
                 $sync->{D} //= $sync->{reindex} ? {} : undef; # OID_BIN => NR
-                my $stk = log2stack($sync, $git, $range, $sync->{ibx});
+                my $stk = log2stack($sync, $git, $range);
                 my $nr = $stk ? $stk->num_records : 0;
                 $pr->("$nr\n") if $pr;
                 $sync->{stacks}->[$i] = $stk if $stk;