Code

git-svn: honor ~/.subversion/ client cert file settings.
authorMichael Krelin <hacker@klever.net>
Fri, 22 Jun 2007 09:15:03 +0000 (11:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Jul 2007 03:52:41 +0000 (20:52 -0700)
Currently, whenever svn repository http server requests client
certificate, prompt provider is invoked, ignoring any
ssl-client-cert-file settings in ~/.subversion/servers.

Moreover, it happens more than once per session, which is quite
irritating.

Signed-off-by: Michael Krelin <hacker@klever.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl

index 50128d72850714b80a765ad9c5ffa9588b8da505..9dfea97fcd4bcdf400c64ecc6fd4ee0bbc5fa334 100755 (executable)
@@ -2925,6 +2925,7 @@ sub new {
            SVN::Client::get_ssl_server_trust_file_provider(),
            SVN::Client::get_simple_prompt_provider(
              \&Git::SVN::Prompt::simple, 2),
+           SVN::Client::get_ssl_client_cert_file_provider(),
            SVN::Client::get_ssl_client_cert_prompt_provider(
              \&Git::SVN::Prompt::ssl_client_cert, 2),
            SVN::Client::get_ssl_client_cert_pw_prompt_provider(