git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn bug/patch: Don't prompt for client cert password everytime.
       [not found] <20080225152535.33dc0893@korv>
@ 2008-02-25 15:11 ` Sebastian Noack
  0 siblings, 0 replies; only message in thread
From: Sebastian Noack @ 2008-02-25 15:11 UTC (permalink / raw)
  To: Eric Wong; +Cc: Linus Torvalds


[-- Attachment #1.1: Type: text/plain, Size: 469 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-git-svn-Don-t-prompt-for-client-cert-password-every.patch --]
[-- Type: text/x-patch; name=0001-git-svn-Don-t-prompt-for-client-cert-password-every.patch, Size: 867 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-25 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080225152535.33dc0893@korv>
2008-02-25 15:11 ` git-svn bug/patch: Don't prompt for client cert password everytime Sebastian Noack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).