threads / bug / 12312

git-svn bug/patch: Don't prompt for client cert password everytime.

Subject: git-svn bug/patch: Don't prompt for client cert password everytime.

## tl;dr

One message between Feb 25, 2008 and Feb 25, 2008.

replies: 0people: 1as markdown or json

Sebastian Noack· Feb 25, 2008, 15:11 UTC · lore
Hi Eric,

I am using git-svn with a subversion repository using ssl client certificates and I noted, that every time I do...

git-svn fetch

...for example, it prompts for my export passphrase, even though it is given in ~/.subversion/servers.

I wrote a patch that fixes this (see attachment).

Btw, the patch I sent you before only works with an old version of git, this one, attached to this email, works with current HEAD.

Regards Sebastian Noack

From 1ec84f7b3b25970ed76db3fa9326c916d3ddcf23 Mon Sep 17 00:00:00 2001
From: Sebastian Noack <sebastian.noack@gmail.com>
Date: Mon, 25 Feb 2008 15:56:28 +0100
Subject: [PATCH] git-svn: Don't prompt for client cert password everytime.
---
 git-svn.perl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index 05fb358..9e2faf9 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -3643,6 +3643,7 @@ sub _auth_providers () {
 	  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_file_provider(),
 	  SVN::Client::get_ssl_client_cert_pw_prompt_provider(
 	    \&Git::SVN::Prompt::ssl_client_cert_pw, 2),
 	  SVN::Client::get_username_provider(),
-- 
1.5.3.7

← back to recent threads