On Wed, May 8, 2019 at 6:56 AM Junio C Hamano <gitster@xxxxxxxxx> 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 s/,// > 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 s/if is/if it is/ > undefined after calling read_config() twice to parsing the s/parsing/parse/ > configuration files for "sendemail.transferencoding" and s/files/file/ (I think) > "sendemail.$ident.transferencoding". > > It was made trivial to do so by the previous change. > > Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx>