projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7df294d
)
lei_xsearch: drop Data::Dumper use
author
Eric Wong <e@80x24.org>
Sun, 19 Sep 2021 12:50:24 +0000 (12:50 +0000)
committer
Eric Wong <e@80x24.org>
Sun, 19 Sep 2021 19:52:46 +0000 (19:52 +0000)
We're not using Data::Dumper for JSON output.
lib/PublicInbox/LeiXSearch.pm
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/LeiXSearch.pm
b/lib/PublicInbox/LeiXSearch.pm
index 4583b0678f3c2e7c5f77f52deb5066c5131c23d0..756183a9b8e3f6e29f32e5d2ec6bdc7f5c5be3e4 100644
(file)
--- a/
lib/PublicInbox/LeiXSearch.pm
+++ b/
lib/PublicInbox/LeiXSearch.pm
@@
-633,7
+633,7
@@
sub _lcat2smsg { # git->cat_async callback
}
}
-sub lcat_dump {
+sub lcat_dump {
# via wq_io_do
my ($self) = @_;
my $lei = $self->{lei};
my $each_smsg = $lei->{ovv}->ovv_each_smsg_cb($lei);
@@
-642,7
+642,6
@@
sub lcat_dump {
my $json_dump = $each_smsg;
$each_smsg = sub {
my ($smsg) = @_;
- use Data::Dumper;
$smsg->{-json_dump} = $json_dump;
$git->cat_async($smsg->{blob}, \&_lcat2smsg, $smsg);
};