unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] lei_config: import read_all properly
@ 2023-10-29 16:08 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2023-10-29 16:08 UTC (permalink / raw)
  To: meta

*sigh* fixing interactive editing stuff is a pain...
Found while making other changes...

Fixes: 19b791f4894efcb6 (use read_all in more places to improve safety)
---
 lib/PublicInbox/LeiConfig.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/PublicInbox/LeiConfig.pm b/lib/PublicInbox/LeiConfig.pm
index 796bb4f5..b915d787 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) = @_;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-29 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-29 16:08 [PATCH] lei_config: import read_all properly Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).