From 326cdf2f98daa50333b3dd203277166900ae03b0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 13 Mar 2023 12:00:20 +0000 Subject: 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. --- lib/PublicInbox/LeiMirror.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/LeiMirror.pm') diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm index c148ebfd..d878f1e4 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.$_"}; -- cgit v1.2.3-24-ge0c7