From: Bagas Sanjaya Date: Mon, 06 Sep 2021 11:05:25 GMT Subject: Re: [PATCH] send-email: fix a "first config key wins" regression in v2.33.0 Message-ID: In-Reply-To: On 06/09/21 14.33, Ævar Arnfjörð Bjarmason wrote: > +test_expect_success $PREREQ 'sendemail.8bitEncoding in .git/config overrides --global .gitconfig' ' > + clean_fake_sendmail && > + git config sendemail.assume8bitEncoding UTF-8 && > + test_when_finished "rm -rf home" && > + mkdir home && > + git config -f home/.gitconfig sendemail.assume8bitEncoding "bogus too" && > + echo bogus | > + env HOME="$(pwd)/home" DEBUG=1 \ > + git send-email --from=author@example.com --to=nobody@example.com \ > + --smtp-server="$(pwd)/fake.sendmail" \ > + email-using-8bit >stdout && > + egrep "Content|MIME" msgtxt1 >actual && > + test_cmp content-type-decl actual > +' > + Did you mean overrides global .gitconfig (s/--global/global/)? Anyway, compiled and tested successfully (test suite passed). Tested-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara