diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-02-27 15:11:53 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-27 15:11:54 -0800 |
| commit | d64a20a1b185082fa6fc83b339f922f95fa45bdc (patch) | |
| tree | 87d874fcd741669fe631aa95c980cd7a9b5e6ee0 /Documentation/git-format-patch.adoc | |
| parent | c0d0b8daedd336677ed30bfb6bb7cdc6c47a468a (diff) | |
| parent | a8e89346a7731cb3104010f322c65e2a0c922618 (diff) | |
| download | git-d64a20a1b185082fa6fc83b339f922f95fa45bdc.tar.xz | |
Merge branch 'mf/format-patch-honor-from-for-cover-letter'
"git format-patch --from=<me>" did not honor the command line
option when writing out the cover letter, which has been corrected.
* mf/format-patch-honor-from-for-cover-letter:
format-patch: fix From header in cover letter
Diffstat (limited to 'Documentation/git-format-patch.adoc')
| -rw-r--r-- | Documentation/git-format-patch.adoc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/git-format-patch.adoc b/Documentation/git-format-patch.adoc index bac9b818f3..36146006fa 100644 --- a/Documentation/git-format-patch.adoc +++ b/Documentation/git-format-patch.adoc @@ -282,11 +282,12 @@ e.g., `--rfc='-(WIP)'` results in "PATCH (WIP)". --from:: --from=<ident>:: - Use `ident` in the `From:` header of each commit email. If the - author ident of the commit is not textually identical to the - provided `ident`, place a `From:` header in the body of the - message with the original author. If no `ident` is given, use - the committer ident. + Use `ident` in the `From:` header of each email. In case of a + commit email, if the author ident of the commit is not textually + identical to the provided `ident`, place a `From:` header in the + body of the message with the original author. If no `ident` is + given, or if the option is not passed at all, use the ident of + the current committer. + Note that this option is only useful if you are actually sending the emails and want to identify yourself as the sender, but retain the |
