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

Re: Local unset override global options

From
SHStefan Hajnoczi <stefanha@gmail.com>
Date
Apr 12, 2010, 08:43 UTC
Message-ID
<r2vfbd9d3991004120143td6f90410j60c7c002b15d5db6@mail.gmail.com>
In-Reply-To
<7vk4sdm5kw.fsf@alter.siamese.dyndns.org>
On Mon, Apr 12, 2010 at 9:35 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> @@ -1043,7 +1043,7 @@ X-Mailer: git-send-email $gitversion
>                            defined $smtp_server_port ? "port=$smtp_server_port" : "";
>                }
>
> -               if (defined $smtp_authuser) {
> +               if (defined $smtp_authuser && $smtp_authuser ne '') {
>
>                        if (!defined $smtp_authpass) {
>

That would work but introduces a special case for smtpuser. Do you think users may wish to unset override other options too?

Stefan
Previous: Junio C HamanoNext: Junio C Hamano
Message 12 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.