From: Michael J Gruber Date: Mon, 12 Apr 2010 08:13:15 GMT Subject: Re: Local unset override global options Message-ID: <4BC2D61B.7050902@drmicha.warpmail.net> In-Reply-To: Stefan Hajnoczi venit, vidit, dixit 10.04.2010 14:54: > I have default settings for sending email in the global git config. > However, for one repo different email settings are necessary. That > specific SMTP server does not want authentication, therefore smtpuser > should be unset. > > The issue is that global smtpuser is set for the default SMTP server > and unsetting local smtpuser results in the global smtpuser being > inherited. What I'd like is smtpuser to be unset for this particular > repo. > > Is there any way to "unset override" options locally? If not, is this > something that could and should be implemented? > > Stefan have you tried setting it to an empty value? Michael