From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C95601F43D for ; Mon, 13 Mar 2023 12:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1678708824; bh=kzBNqa2FENoe5HwikZjSrmId/Cx0eCTAi9NWsx1Ignc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pahxDkcHKLo0iTZ76PhCV4bThyxTqZ11vluKG16WSxkQO6lS3Kc+UHJWkvpH06t/b L+qo1M74ThiuGgrte/60a68YH78xqACGxN3BaumhHY+NcN0dZ20GTQGnXqldPF6f2j s4NY4/Bo7j/+zmD2M0OclVBpxHI3dafTIXSGENzU= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/5] lei_mirror: describe why the {ibx} field is used Date: Mon, 13 Mar 2023 12:00:20 +0000 Message-Id: <20230313120024.1911925-2-e@80x24.org> In-Reply-To: <20230313120024.1911925-1-e@80x24.org> References: <20230313120024.1911925-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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(-) 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.$_"};