am: document that Date: can appear as an in-body header

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>
maint
Paul Menzel 2020-01-03 16:05:46 +01:00 committed by Junio C Hamano
parent 53a06cf39b
commit f8740c586b
1 changed files with 2 additions and 2 deletions

View File

@ -190,8 +190,8 @@ the commit, after stripping common prefix "[PATCH <anything>]".
The "Subject: " line is supposed to concisely describe what the The "Subject: " line is supposed to concisely describe what the
commit is about in one line of text. commit is about in one line of text.


"From: " and "Subject: " lines starting the body override the respective "From: ", "Date: ", and "Subject: " lines starting the body override the
commit author name and title values taken from the headers. respective commit author name and title values taken from the headers.


The commit message is formed by the title taken from the The commit message is formed by the title taken from the
"Subject: ", a blank line and the body of the message up to "Subject: ", a blank line and the body of the message up to