We'll probably still need synchronous message retrieval
in a few places (tests, at least).
use strict;
use v5.10.1;
use PublicInbox::Over;
+use PublicInbox::Inbox;
# for ->reopen, ->mset, ->mset_to_artnums
use parent qw(PublicInbox::Search);
$self->{git} //= PublicInbox::Git->new("$self->{topdir}/ALL.git");
}
+no warnings 'once';
+*smsg_eml = \&PublicInbox::Inbox::smsg_eml;
+
1;
return unless defined $smsg;
defined(my $blob = $smsg->{blob}) or return;
- git($self)->cat_file($blob);
+ $self->git->cat_file($blob);
}
sub smsg_eml {