git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Local unset override global options

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Apr 12, 2010, 08:13 UTC
Message-ID
<4BC2D61B.7050902@drmicha.warpmail.net>
In-Reply-To
<z2kfbd9d3991004092354y21d3ac3fgf1f0675cdb5c51a8@mail.gmail.com>
Stefan Hajnoczi venit, vidit, dixit 10.04.2010 14:54:
Show 14 quoted lines
> 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
Previous: Stefan HajnocziNext: Stefan Hajnoczi
Message 2 of 14 in “Local unset override global options”
  1. Stefan HajnocziApr 10, 2010
  2. Michael J GruberApr 12, 2010
  3. Stefan HajnocziApr 12, 2010
  4. Michael J GruberApr 12, 2010
  5. Jakub NarebskiApr 12, 2010
  6. Junio C HamanoApr 12, 2010
  7. Jakub NarebskiApr 12, 2010
  8. Junio C HamanoApr 12, 2010
  9. Erik Faye-LundApr 12, 2010
  10. Jakub NarebskiApr 12, 2010
  11. Junio C HamanoApr 12, 2010
  12. Stefan HajnocziApr 12, 2010
  13. Junio C HamanoApr 12, 2010
  14. Stefan HajnocziApr 12, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.