diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-10-22 22:24:25 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-23 13:37:14 +0900 |
commit | 8dd9b3f85a1806ab2aaf0fc4bf20fa17d499a0b0 (patch) | |
tree | 2a03b8560ed3aca33fc3f7e5c5778f046beccb32 /t/t0026-eol-config.sh | |
parent | Fifth batch for 2.20 (diff) | |
download | tgif-8dd9b3f85a1806ab2aaf0fc4bf20fa17d499a0b0.tar.xz |
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>
Diffstat (limited to 't/t0026-eol-config.sh')
0 files changed, 0 insertions, 0 deletions