From 77398fa98962fa5c1ab9eb15894ec5b19d0a386e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 16 Sep 2021 07:45:45 +0000 Subject: doc: lei-mail-formats: add "eml" and expand on git things While "eml" is not an output format, it seems worthy to document, here, since users are likely to have experience with *.patch files from "git format-patch". --- Documentation/lei-mail-formats.pod | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/lei-mail-formats.pod b/Documentation/lei-mail-formats.pod index da723d2b..3c37c880 100644 --- a/Documentation/lei-mail-formats.pod +++ b/Documentation/lei-mail-formats.pod @@ -51,7 +51,9 @@ with any number of C> characters and is thus fully reversible. This format is emitted by L with gzip. -It is supported by L since git 2.10. +Since git 2.10, C reads this +format. C and C can also +generate this format with the C<--pretty=mboxrd> switch. As with uncompressed L, uncompressed mboxrd are vulnerable to undetectable truncation. @@ -96,6 +98,22 @@ Depending on the IMAP server software and configuration, IMAP servers may use any (or combination) of the aforementioned formats or a non-standard database backend. +=head1 eml + +A single raw message file. C is not an output format for lei, +but accepted by as an C<--input-format> (C<-F>) for read-only +commands such as L and L. + +Since C is the suffix for the C MIME type +(according to the C file), lei will infer the type +based on the C<.eml> suffix if C<--input-format> is unspecified + +C<.patch>-suffixed files generated by L +(without C<--stdout>) are C files with the addition of an +mbox C header. L removes C lines to treat +them as C when reading these for compatibility with +C and similar tools. + =head1 COPYRIGHT Copyright 2021 all contributors L -- cgit v1.2.3-24-ge0c7