]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: explain "mboxrd" pretty format
authorEmma Brooks <me@pluvano.com>
Thu, 16 Apr 2020 04:16:59 +0000 (04:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Apr 2020 05:08:53 +0000 (22:08 -0700)
The "mboxrd" pretty format was introduced in 9f23e04061 (pretty: support
"mboxrd" output format, 2016-06-05) but wasn't mentioned in the
documentation.

Signed-off-by: Emma Brooks <me@pluvano.com>
Acked-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt

index a4b6f49186319ae094d3a7182ab9f7e0a8925ef9..547a55246302f91d6673db79228e08c6de95a286 100644 (file)
@@ -83,6 +83,12 @@ placeholders, its output is not affected by other options like
 
          <full commit message>
 
+* 'mboxrd'
++
+Like 'email', but lines in the commit message starting with "From "
+(preceded by zero or more ">") are quoted with ">" so they aren't
+confused as starting a new commit.
+
 * 'raw'
 +
 The 'raw' format shows the entire commit exactly as