]> Sergey Matveev's repositories - public-inbox.git/commit
extindex: do not use current dir like -index does
authorEric Wong <e@80x24.org>
Tue, 8 Dec 2020 21:21:28 +0000 (21:21 +0000)
committerEric Wong <e@80x24.org>
Wed, 9 Dec 2020 21:13:35 +0000 (21:13 +0000)
commitb1bf076de26e8803e399b070bbc418a6ecd4ebe1
tree8b61f47fa1d71876fcf59fc01e398b3dacc02ed2
parent0d38f65c490466837ae091afa7a7b6f59d04ce7c
extindex: do not use current dir like -index does

At least not for resolving inboxes, since there's no good way
for a user to specify what is an inbox or extindex directory
without a command-line switch.

Instead of changing the -extindex command, we change the -index
command internals to rely on the new {-use_cwd} flag to avoid
internal use of negation, since double-negatives and the like
are confusing to me.
lib/PublicInbox/Admin.pm
script/public-inbox-index