projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b9511c
)
lei: bless config
author
Eric Wong <e@80x24.org>
Wed, 17 Feb 2021 10:06:57 +0000 (09:06 -0100)
committer
Eric Wong <e@80x24.org>
Thu, 18 Feb 2021 07:57:14 +0000 (
03:57
-0400)
We'll be needing ->url_match from PublicInbox::Config
lib/PublicInbox/LEI.pm
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/LEI.pm
b/lib/PublicInbox/LEI.pm
index aa14ca6f587ca5a9e2632be8aab6bf2903b8fffd..12deedd84ecface19a0f9620a0af75903a8f08fd 100644
(file)
--- 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;