mirror of
https://github.com/git/git
synced 2024-08-28 20:20:07 +00:00
Merge branch 'tp/send-email-from-config'
* tp/send-email-from-config: send-email: Add config option for sender address
This commit is contained in:
commit
212fa1d960
|
@ -69,9 +69,12 @@ and In-Reply-To headers will be used unless they are removed.
|
|||
Missing From or In-Reply-To headers will be prompted for.
|
||||
|
||||
--from=<address>::
|
||||
Specify the sender of the emails. This will default to
|
||||
the value GIT_COMMITTER_IDENT, as returned by "git var -l".
|
||||
The user will still be prompted to confirm this entry.
|
||||
Specify the sender of the emails. If not specified on the command line,
|
||||
the value of the 'sendemail.from' configuration option is used. If
|
||||
neither the command line option nor 'sendemail.from' are set, then the
|
||||
user will be prompted for the value. The default for the prompt will be
|
||||
the value of GIT_AUTHOR_IDENT, or GIT_COMMITTER_IDENT if that is not
|
||||
set, as returned by "git var -l".
|
||||
|
||||
--in-reply-to=<identifier>::
|
||||
Specify the contents of the first In-Reply-To header.
|
||||
|
|
|
@ -210,6 +210,7 @@ sub do_edit {
|
|||
"envelopesender" => \$envelope_sender,
|
||||
"multiedit" => \$multiedit,
|
||||
"confirm" => \$confirm,
|
||||
"from" => \$sender,
|
||||
);
|
||||
|
||||
# Handle Uncouth Termination
|
||||
|
|
Loading…
Reference in a new issue