http: add option to try authentication without username
commit121061f67fd47aed5b2f3a7deb82af15215636bd
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 15 Feb 2016 18:44:46 +0000 (15 18:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Feb 2016 22:13:37 +0000 (15 14:13 -0800)
tree62cb917fc8c05a69bd892fc04e87538447760575
parenta08595f76159b09d57553e37a5123f1091bb13e7
http: add option to try authentication without username

Performing GSS-Negotiate authentication using Kerberos does not require
specifying a username or password, since that information is already
included in the ticket itself.  However, libcurl refuses to perform
authentication if it has not been provided with a username and password.
Add an option, http.emptyAuth, that provides libcurl with an empty
username and password to make it attempt authentication anyway.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
http.c