You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send-email: honor transferencoding config option again
Since e67a228 ("send-email: automatically determine
transfer-encoding"), the value of sendmail.transferencoding in the
configuration file is ignored because $target_xfer_encoding is
already defined by the time read_config sub parses the configuration
file.
Instead of initializing variable $target_xfer_encoding to 'auto' on
definition, we have to set it to the default value of 'auto' if it
is undefined after calling read_config() twice to parse the
configuration file for "sendemail.transferencoding" and
"sendemail.$ident.transferencoding".
This is made trivial by the previous change.
Signed-off-by: Junio C Hamano <[email protected]>
0 commit comments