From: Eric Wong Date: Mon, 13 Mar 2023 12:00:20 +0000 (+0000) Subject: lei_mirror: describe why the {ibx} field is used X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=326cdf2f98daa50333b3dd203277166900ae03b0;p=thirdparty%2Fpublic-inbox.git lei_mirror: describe why the {ibx} field is used I forgot why that hunk of code was needed :x, so maybe others will find the comment helpful, too. --- diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm index c148ebfd6..d878f1e48 100644 --- a/lib/PublicInbox/LeiMirror.pm +++ b/lib/PublicInbox/LeiMirror.pm @@ -194,7 +194,7 @@ sub _write_inbox_config { die "open($f): $!"; } my $cfg = PublicInbox::Config->git_config_dump($f, $self->{lei}->{2}); - my $ibx = $self->{ibx} = {}; + my $ibx = $self->{ibx} = {}; # for indexing for my $sec (grep(/\Apublicinbox\./, @{$cfg->{-section_order}})) { for (qw(address newsgroup nntpmirror)) { $ibx->{$_} = $cfg->{"$sec.$_"};