diff options
author | Eric Wong <e@80x24.org> | 2019-12-25 07:50:52 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-27 20:00:37 +0000 |
commit | 4bffd23fdd592c356c9b3d56b202d178a12fec43 (patch) | |
tree | ec64798ce143b45a300bd23de3a4c6226ec4acaf /lib/PublicInbox/Cgit.pm | |
parent | 8b192073ae9e940ec066811aaa5618a1601f0565 (diff) | |
download | public-inbox-4bffd23fdd592c356c9b3d56b202d178a12fec43.tar.gz |
Another place where we can replace anonymous subs with named subs by passing a user-supplied arg.
Diffstat (limited to 'lib/PublicInbox/Cgit.pm')
-rw-r--r-- | lib/PublicInbox/Cgit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Cgit.pm b/lib/PublicInbox/Cgit.pm index 68da9178..ab4065bd 100644 --- a/lib/PublicInbox/Cgit.pm +++ b/lib/PublicInbox/Cgit.pm @@ -63,7 +63,7 @@ sub new { pi_config => $pi_config, }, $class; - $pi_config->each_inbox(sub {}); # fill in -code_repos mapped to inboxes + $pi_config->fill_all; # fill in -code_repos mapped to inboxes # some cgit repos may not be mapped to inboxes, so ensure those exist: my $code_repos = $pi_config->{-code_repos}; |