]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http.c
branch: don't mix --edit-description
[thirdparty/git.git] / http.c
diff --git a/http.c b/http.c
index 00a0e507633b3a464e0ef3c7bdd6c04e044f441a..5f712634825ee7a9a10c344f889ca262f94f6407 100644 (file)
--- a/http.c
+++ b/http.c
@@ -558,6 +558,7 @@ static int has_cert_password(void)
                return 0;
        if (!cert_auth.password) {
                cert_auth.protocol = xstrdup("cert");
+               cert_auth.host = xstrdup("");
                cert_auth.username = xstrdup("");
                cert_auth.path = xstrdup(ssl_cert);
                credential_fill(&cert_auth);