From: Stefan Hajnoczi Date: Mon, 12 Apr 2010 08:23:00 GMT Subject: Re: Local unset override global options Message-ID: In-Reply-To: <4BC2D61B.7050902@drmicha.warpmail.net> On Mon, Apr 12, 2010 at 9:13 AM, Michael J Gruber wrote: > have you tried setting it to an empty value? Yes I have tried it. An empty string causes the SMTP auth Perl module to choke. It expects a non-empty username and exits with an error. On my system I have patched git-send-email to perform this check: if (defined $smtp_authuser and length $smtp_authuser) { This works but feels like a hack. I think unset override could be useful for any git config option, not just sendemail.smtpuser. I'm not familiar with git internals; do you have other suggestions for solving this issue? Stefan