- my $inbox = PublicInbox::Inbox->new({mainrepo=>$git_dir});
- $inbox->{altid} = $altid;
- my $rw = PublicInbox::SearchIdx->new($inbox, 1);
+ $ibx = PublicInbox::Inbox->new({mainrepo => $git_dir});
+ $ibx->{altid} = $altid;
+ my $rw = PublicInbox::SearchIdx->new($ibx, 1);