Subject: Re: Local unset override global options

From: Michael J Gruber <[email-masked]>
Date: Mon, 12 Apr 2010 16:13:15 +0800

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