git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: git@vger.kernel.org
Subject: Local unset override global options
Date: Sat, 10 Apr 2010 07:54:28 +0100	[thread overview]
Message-ID: <z2kfbd9d3991004092354y21d3ac3fgf1f0675cdb5c51a8@mail.gmail.com> (raw)

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

             reply	other threads:[~2010-04-10  6:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-10  6:54 Stefan Hajnoczi [this message]
2010-04-12  8:13 ` Local unset override global options Michael J Gruber
2010-04-12  8:23   ` Stefan Hajnoczi
2010-04-12  8:28     ` Michael J Gruber
2010-04-12  8:53       ` Jakub Narebski
2010-04-12 15:47         ` Junio C Hamano
2010-04-12 17:02           ` Jakub Narebski
2010-04-12 18:18             ` Junio C Hamano
2010-04-12 18:36               ` Erik Faye-Lund
2010-04-12 21:07               ` Jakub Narebski
2010-04-12  8:35   ` Junio C Hamano
2010-04-12  8:43     ` Stefan Hajnoczi
2010-04-12 15:48       ` Junio C Hamano
2010-04-12 16:07         ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=z2kfbd9d3991004092354y21d3ac3fgf1f0675cdb5c51a8@mail.gmail.com \
    --to=stefanha@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).