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

Re: [PATCH v2] send-email: explicitly disable authentication

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 23, 2018, 00:32 UTC
Message-ID
<xmqqd0s1tsdd.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20181022175248.3940-1-JPEWhacker@gmail.com>
Joshua Watt <jpewhacker@gmail.com> writes:
> It can be necessary to disable SMTP authentication by a mechanism other
> than sendemail.smtpuser being undefined. For example, if the user has
> sendemail.smtpuser set globally but wants to disable authentication
> locally in one repository.

I wonder if it would be more productive to introduce a mechanism that can be used to address that use case more directly. For example, would it help to teach "git send-email" that sendemail.smtpuser set to a particular value (say '!', or empty string if you prefer) is equivalent to the variable unset at all?

Previous: Joshua WattNext: Joshua Watt
Message 7 of 10 in “send-email: explicitly disable authentication”
  1. send-email: explicitly disable authenticationJoshua Watt, Oct 18, 2018
  2. Eric SunshineOct 18, 2018
  3. Joshua WattOct 18, 2018
  4. Eric SunshineOct 19, 2018
  5. send-email: explicitly disable authenticationJoshua Watt, Oct 22, 2018
  6. Joshua WattOct 22, 2018
  7. Junio C HamanoOct 23, 2018
  8. Joshua WattOct 23, 2018
  9. send-email: explicitly disable authenticationJoshua Watt, Oct 23, 2018
  10. Junio C HamanoOct 25, 2018

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.