]> Sergey Matveev's repositories - public-inbox.git/commit
lei_input: treat ".eml" and ".patch" suffix as "eml"
authorEric Wong <e@80x24.org>
Mon, 29 Mar 2021 07:08:25 +0000 (07:08 +0000)
committerEric Wong <e@80x24.org>
Mon, 29 Mar 2021 17:43:55 +0000 (13:43 -0400)
commitd326b75c07c6d79547c045cb08163f9d40b245b9
tree8a2db59ea28b93b2e6d4f59e73bd6cde81452893
parenta0ad0c832830ecd70d01dfba5f1bc81d4efcd950
lei_input: treat ".eml" and ".patch" suffix as "eml"

".eml" is a suffix supported by (/usr/local)/etc/mime.types
on Debian and FreeBSD systems using the "mime-support" package.
".patch" is what "git format-patch" generates by default since
git v1.5.0 in 2007.
lib/PublicInbox/LeiInput.pm
t/lei-import.t
t/lei-mark.t