]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: -I/--exclude/--only support globs and basenames
authorEric Wong <e@80x24.org>
Wed, 3 Feb 2021 08:11:38 +0000 (22:11 -1000)
committerEric Wong <e@80x24.org>
Thu, 4 Feb 2021 01:37:09 +0000 (01:37 +0000)
commit9c38d7f9a5d2575dc6f7179c4e69fb1cb3d6b871
tree9a83c3afad391bca78462f40c48683f08e126263
parent50c074ec9e030f05b53773dafb29d6098f58b56c
lei q: -I/--exclude/--only support globs and basenames

We can do basename matching when it's unambiguous.  Since '*?[]'
characters are rare in URLs and pathnames, we'll do glob
matching by default to support a (curl-inspired) --globoff/-g
option to disable globbing.

And fix --exclude while we're at it
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiExternal.pm
lib/PublicInbox/LeiQuery.pm