]> git.ipfire.org Git - thirdparty/git.git/commitdiff
am: document that Date: can appear as an in-body header
authorPaul Menzel <pmenzel@molgen.mpg.de>
Fri, 3 Jan 2020 15:05:46 +0000 (16:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 4 Jan 2020 23:12:39 +0000 (15:12 -0800)
Similar to "From:" and "Subject:" already mentioned in the
documentation, "Date:" can also appear as an in-body header
to override the value in the e-mail headers.  Document it.

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt

index fc3b993c3338b5f9f8a034aaade14e77bdcd75b5..57c4880f3ac3aba16c5d8049d268ce59d8f15a82 100644 (file)
@@ -190,8 +190,8 @@ the commit, after stripping common prefix "[PATCH <anything>]".
 The "Subject: " line is supposed to concisely describe what the
 commit is about in one line of text.
 
-"From: " and "Subject: " lines starting the body override the respective
-commit author name and title values taken from the headers.
+"From: ", "Date: ", and "Subject: " lines starting the body override the
+respective commit author name and title values taken from the headers.
 
 The commit message is formed by the title taken from the
 "Subject: ", a blank line and the body of the message up to