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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
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: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux