]> Sergey Matveev's repositories - public-inbox.git/commit
searchidxshard: simplify newline elimination
authorEric Wong <e@80x24.org>
Tue, 15 Dec 2020 02:02:24 +0000 (02:02 +0000)
committerEric Wong <e@80x24.org>
Thu, 17 Dec 2020 19:13:16 +0000 (19:13 +0000)
commit6b8441407e495e9c8fcd9c31f60654ed8c7d786e
treecb9bca0ac11eb75ad9d3766de7314665327dd7e8
parentc1b98f98edfc8a023609890a1cfe856579819926
searchidxshard: simplify newline elimination

This overdue change fixes {current_info} to not inject a newline
into every warning message.

Simpler code helps us avoid bugs and the need to make
fixes like commit 44de182766037948d62bc2a8ba924de2264dd5fc
("searchidxshard: chomp $eidx_key from pipe").
lib/PublicInbox/SearchIdxShard.pm