File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,12 @@ and In-Reply-To headers will be used unless they are removed.
6969Missing From or In-Reply-To headers will be prompted for.
7070
7171--from=<address>::
72- Specify the sender of the emails. This will default to
73- the value GIT_COMMITTER_IDENT, as returned by "git var -l".
74- The user will still be prompted to confirm this entry.
72+ Specify the sender of the emails. If not specified on the command line,
73+ the value of the 'sendemail.from' configuration option is used. If
74+ neither the command line option nor 'sendemail.from' are set, then the
75+ user will be prompted for the value. The default for the prompt will be
76+ the value of GIT_AUTHOR_IDENT, or GIT_COMMITTER_IDENT if that is not
77+ set, as returned by "git var -l".
7578
7679--in-reply-to=<identifier>::
7780 Specify the contents of the first In-Reply-To header.
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ sub do_edit {
210210 " envelopesender" => \$envelope_sender ,
211211 " multiedit" => \$multiedit ,
212212 " confirm" => \$confirm ,
213+ " from" => \$sender ,
213214);
214215
215216# Handle Uncouth Termination
You can’t perform that action at this time.
0 commit comments