From: Eric Wong Date: Sun, 29 Oct 2023 16:08:06 +0000 (+0000) Subject: lei_config: import read_all properly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a6fa153b50c0ae7deca6e7aa1ac49904701805;p=thirdparty%2Fpublic-inbox.git lei_config: import read_all properly *sigh* fixing interactive editing stuff is a pain... Found while making other changes... Fixes: 19b791f4894efcb6 (use read_all in more places to improve safety) --- diff --git a/lib/PublicInbox/LeiConfig.pm b/lib/PublicInbox/LeiConfig.pm index 796bb4f5e..b915d787b 100644 --- a/lib/PublicInbox/LeiConfig.pm +++ b/lib/PublicInbox/LeiConfig.pm @@ -5,6 +5,7 @@ use v5.12; use PublicInbox::PktOp; use Fcntl qw(SEEK_SET); use autodie qw(open seek); +use PublicInbox::Git qw(read_all); sub cfg_do_edit ($;$) { my ($self, $reason) = @_;