diff options
author | Eric Wong <e@80x24.org> | 2021-11-02 18:14:43 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-11-02 19:03:39 +0000 |
commit | 85d75a409a15a3b114299838e30ad608c799c7e5 (patch) | |
tree | f0776959b4ba509768f08c00aca245596780d6aa /lib/PublicInbox | |
parent | f872a5e602a806c206019eaf0654abebba086f36 (diff) | |
download | public-inbox-85d75a409a15a3b114299838e30ad608c799c7e5.tar.gz |
In retrospect, this doesn't make sense, since it needs at least two messages to diff. So go about "normal" input rules and require users to specify the format.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/LeiMailDiff.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiMailDiff.pm b/lib/PublicInbox/LeiMailDiff.pm index b21a0c36..48ba74cf 100644 --- a/lib/PublicInbox/LeiMailDiff.pm +++ b/lib/PublicInbox/LeiMailDiff.pm @@ -76,7 +76,6 @@ sub input_eml_cb { # used by PublicInbox::LeiInput::input_fh sub lei_mail_diff { my ($lei, @argv) = @_; - $lei->{opt}->{'in-format'} //= 'eml' if !grep(/\A[a-z0-9]+:/i, @argv); my $self = bless {}, __PACKAGE__; $self->prepare_inputs($lei, \@argv) or return; my $isatty = -t $lei->{1}; |