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.
69
69
Missing From or In-Reply-To headers will be prompted for.
70
70
71
71
--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".
75
78
76
79
--in-reply-to=<identifier>::
77
80
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 {
210
210
" envelopesender" => \$envelope_sender ,
211
211
" multiedit" => \$multiedit ,
212
212
" confirm" => \$confirm ,
213
+ " from" => \$sender ,
213
214
);
214
215
215
216
# Handle Uncouth Termination
You can’t perform that action at this time.
0 commit comments