From: Eric Sunshine Date: Wed, 08 May 2019 21:24:39 GMT Subject: Re: [PATCH v2 2/2] send-email: honor transferencoding config option again Message-ID: In-Reply-To: <20190508105607.178244-3-gitster@pobox.com> On Wed, May 8, 2019 at 6:56 AM Junio C Hamano 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