From: Eric Wong Date: Wed, 17 Feb 2021 10:06:57 +0000 (-0100) Subject: lei: bless config X-Git-Tag: v1.7.0~1119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2418db438aa712a04873414f5716c8acbd8428c;p=thirdparty%2Fpublic-inbox.git lei: bless config We'll be needing ->url_match from PublicInbox::Config --- diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index aa14ca6f5..12deedd84 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -563,6 +563,7 @@ sub _lei_cfg ($;$) { qerr($self, "# $f created") if $self->{cmd} ne 'config'; } my $cfg = PublicInbox::Config::git_config_dump($f); + bless $cfg, 'PublicInbox::Config'; $cfg->{-st} = $cur_st; $cfg->{'-f'} = $f; $self->{cfg} = $PATH2CFG{$f} = $cfg;