From: Junio C Hamano <gitster@pobox.com>
To: Joshua Watt <jpewhacker@gmail.com>
Cc: git@vger.kernel.org, Eric Sunshine <sunshine@sunshineco.com>
Subject: Re: [PATCH v2] send-email: explicitly disable authentication
Date: Tue, 23 Oct 2018 09:32:30 +0900 [thread overview]
Message-ID: <xmqqd0s1tsdd.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <20181022175248.3940-1-JPEWhacker@gmail.com> (Joshua Watt's message of "Mon, 22 Oct 2018 12:52:48 -0500")
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?
next prev parent reply other threads:[~2018-10-23 0:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-18 21:15 [PATCH] send-email: explicitly disable authentication Joshua Watt
2018-10-18 21:53 ` Eric Sunshine
2018-10-18 22:01 ` Joshua Watt
2018-10-19 14:10 ` Eric Sunshine
2018-10-22 17:52 ` [PATCH v2] " Joshua Watt
2018-10-22 18:03 ` Joshua Watt
2018-10-23 0:32 ` Junio C Hamano [this message]
2018-10-23 2:40 ` Joshua Watt
2018-10-23 3:24 ` [PATCH v3] " Joshua Watt
2018-10-25 9:43 ` Junio C Hamano
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=xmqqd0s1tsdd.fsf@gitster-ct.c.googlers.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=jpewhacker@gmail.com \
--cc=sunshine@sunshineco.com \
/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).