Re: [PATCH v2 2/2] send-email: honor transferencoding config option again
On Wed, May 8, 2019 at 6:56 AM Junio C Hamano <gitster@pobox.com> wrote:
> Since e67a228cd8a ("send-email: automatically determine
> transfer-encoding"), the value of sendmail.transferencoding in the
> configuration file is ignored, because $target_xfer_encoding is> already defined read_config sub parses the configuration file.
s/defined/& when/ --or -- s/defined/& by the time/
> Instead of initializing variable $target_xfer_encoding to 'auto' on
> definition, we have to set it to the default value of 'auto' if is
> undefined after calling read_config() twice to parsing the
> configuration files for "sendemail.transferencoding" and
Show 5 quoted lines
> "sendemail.$ident.transferencoding".
>
> It was made trivial to do so by the previous change.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>