Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-01-02 22:39:21 +0400
committerJunio C Hamano <gitster@pobox.com>2013-01-02 22:39:21 +0400
commit77a5efb4eb71d01d010dbcb859516aa232971d28 (patch)
tree1de4c00e966d0db6def1ec43b99287d5a9cc8f4b
parent4b32367ddc63fc2a3e50986509f2f6323f227fef (diff)
parent75e9a405d4a3fdf9d84282c5fac065257887fd96 (diff)
Merge branch 'rb/http-cert-cred-no-username-prompt'
http transport was wrong to ask for the username when the authentication is done by certificate identity. * rb/http-cert-cred-no-username-prompt: http.c: Avoid username prompt for certifcate credentials
-rw-r--r--http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/http.c b/http.c
index 0a8abf3be3..44f35256e4 100644
--- a/http.c
+++ b/http.c
@@ -236,6 +236,7 @@ static int has_cert_password(void)
return 0;
if (!cert_auth.password) {
cert_auth.protocol = xstrdup("cert");
+ cert_auth.username = xstrdup("");
cert_auth.path = xstrdup(ssl_cert);
credential_fill(&cert_auth);
}