[PATCH] Documentation: Mention `Date: ` in git-am
- From
- Paul Menzel <pmenzel@molgen.mpg.de>
- Date
- Jan 3, 2020, 15:05 UTC
- Message-ID
- <6ffcb6c0-d09e-45c4-d264-8a9024b67f3c@molgen.mpg.de>
Date: Fri, 3 Jan 2020 12:48:46 +0100
Tested, that a line `Date: ` in the message body will be preferred by `git am` over the one in the message header. So, update the documentation.
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> --- Documentation/git-am.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index fc5750b3b8..11ca61b00b 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -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
-- 2.24.1