send-email: explicitly disable authentication
commit8dd9b3f85a1806ab2aaf0fc4bf20fa17d499a0b0
authorJoshua Watt <jpewhacker@gmail.com>
Tue, 23 Oct 2018 03:24:25 +0000 (22 22:24 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Oct 2018 04:37:14 +0000 (23 13:37 +0900)
tree2a03b8560ed3aca33fc3f7e5c5778f046beccb32
parentc4df23f7927d8d00e666a3c8d1b3375f1dc8a3c1
send-email: explicitly disable authentication

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.

--smtp-auth and sendemail.smtpauth now understand the value 'none' which
means to disable authentication completely, even if an authentication
user is specified.

The value 'none' is lower case to avoid conflicts with any RFC 4422
authentication mechanisms.

The user may also specify the command line argument --no-smtp-auth as a
shorthand for --smtp-auth=none

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl