]> Sergey Matveev's repositories - public-inbox.git/commit
lei: support "-C" to chdir in all sub commands
authorEric Wong <e@80x24.org>
Tue, 23 Feb 2021 10:01:14 +0000 (04:01 -0600)
committerEric Wong <e@80x24.org>
Tue, 23 Feb 2021 23:04:11 +0000 (23:04 +0000)
commit238422ea83adbe93145bbd18455ffffb84b53124
tree6cba5b5c80d9afba95fecfb959f401440c1ec316
parent56b3493c79087979f10f5a3cae7deedaf4ec9fa3
lei: support "-C" to chdir in all sub commands

We'll also support "-C" at the end of most commands to give
users a little more flexibility when building command-lines.
This conflicts with "lei daemon-kill -CHLD", so that's
special-cased since "-C" makes no sense with daemon-kill,
anyways.

Unlike "git show", the to-be-implemented "lei show" will diverge
and enable "--find-copies[=<n>]" by default, so "-C[<n>]" won't
be necessary.
lib/PublicInbox/LEI.pm
t/lei-externals.t
t/lei.t