]> Sergey Matveev's repositories - public-inbox.git/commit
lei: avoid needless env passing to subcommands
authorEric Wong <e@80x24.org>
Mon, 22 Feb 2021 21:38:22 +0000 (03:38 +0600)
committerEric Wong <e@80x24.org>
Wed, 24 Feb 2021 11:12:57 +0000 (11:12 +0000)
commit2d22af21032993d641554e6157166cb2a3c6f57b
treed3beafd0e436c47e3e34c85762ea15bb867a00ec
parente01fe4f05196b56775fffffe23572ec648b14ec6
lei: avoid needless env passing to subcommands

We already localize %ENV before calling dispatch(), so
it's needless overhead in spawn() to be checking env for
undef values in those cases.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiMirror.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/LeiXSearch.pm