diff options
author | Eric Wong <e@80x24.org> | 2024-01-31 10:20:16 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2024-02-01 21:00:14 +0000 |
commit | bfb3de41aae23bb65afc62c228570b4a9578abcc (patch) | |
tree | 7815b0b37c2c89a703f5383fd5a38e19c5eac8a6 /lib/PublicInbox/LeiConvert.pm | |
parent | 82442ae358c8154f4ea05947d39a36cb05ff84bc (diff) | |
download | public-inbox-bfb3de41aae23bb65afc62c228570b4a9578abcc.tar.gz |
LeiToMail can't sort v2 output, but sorting MH input (and NNTP spool + mlmmj archives) numerically makes sense.
Diffstat (limited to 'lib/PublicInbox/LeiConvert.pm')
-rw-r--r-- | lib/PublicInbox/LeiConvert.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiConvert.pm b/lib/PublicInbox/LeiConvert.pm index 17a952f2..4d4fceb2 100644 --- a/lib/PublicInbox/LeiConvert.pm +++ b/lib/PublicInbox/LeiConvert.pm @@ -52,6 +52,7 @@ sub lei_convert { # the main "lei convert" method my ($lei, @inputs) = @_; $lei->{opt}->{kw} //= 1; $lei->{opt}->{dedupe} //= 'none'; + $lei->{input_opt}->{sort} = 1; # for LeiToMail conflict check my $self = bless {}, __PACKAGE__; my $ovv = PublicInbox::LeiOverview->new($lei, 'out-format'); $lei->{l2m} or return |