]> Sergey Matveev's repositories - public-inbox.git/commit
config: get_1: use full parameter name
authorEric Wong <e@80x24.org>
Mon, 27 Sep 2021 07:53:07 +0000 (02:53 -0500)
committerEric Wong <e@80x24.org>
Mon, 27 Sep 2021 09:22:49 +0000 (09:22 +0000)
commit996de3c67d490b4052bd16179b229b30c2f890f8
treed9f58dbdd5b5889640ddc7d2a6b7cf39acff8c90
parent751df49e7db8ba770dff28fb701b31c57ca200e2
config: get_1: use full parameter name

Instead of passing the prefix section and key separately, pass
them together as is commonly done with git-config(1) usage as
well as our ->get_all API.  This inconsistency in the get_1 API
is a needless footgun and confused me a bit while working on
"lei up" the other week.
lib/PublicInbox/Config.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiNoteEvent.pm
lib/PublicInbox/LeiUp.pm