diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-08-29 14:38:37 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-08-29 14:39:13 -0700 |
| commit | d5fc07df688ace8c5a32f66b358ebd55cdaf4d28 (patch) | |
| tree | 4e85ad980a53ed4f8632e9d86b86dfff2fb6a429 /Documentation/git-format-patch.txt | |
| parent | format-patch: allow forcing the use of in-body From: header (diff) | |
| download | git-d5fc07df688ace8c5a32f66b358ebd55cdaf4d28.tar.gz git-d5fc07df688ace8c5a32f66b358ebd55cdaf4d28.zip | |
format-patch: learn format.forceInBodyFrom configuration variable
As the need to use the "--force-in-body-from" option primarily is
tied to which mailing list the mails go to (and get their From:
address mangled), it is likely that a user who needs to use this
option once to interact with their upstream project needs to use it
for all patches they send out.
Add a configuration variable, suitable for setting in the local
configuration file per repository, for this.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-format-patch.txt')
| -rw-r--r-- | Documentation/git-format-patch.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt index 7c7f244e57..dfcc7da4c2 100644 --- a/Documentation/git-format-patch.txt +++ b/Documentation/git-format-patch.txt @@ -283,6 +283,8 @@ feeding the result to `git send-email`. the in-body "From:" is added even when the sender and the author have the same name and address, which may help if the mailing list software mangles the sender's identity. + Defaults to the value of the `format.forceInBodyFrom` + configuration variable. --add-header=<header>:: Add an arbitrary header to the email headers. This is in addition |
