git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Noack <sebastian.noack@googlemail.com>
To: Eric Wong <normalperson@yhbt.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Subject: git-svn bug/patch: Don't prompt for client cert password everytime.
Date: Mon, 25 Feb 2008 16:11:30 +0100	[thread overview]
Message-ID: <20080225161130.0be0214b@korv> (raw)
In-Reply-To: <20080225152535.33dc0893@korv>


[-- 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 --]

           reply	other threads:[~2008-02-25 18:04 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20080225152535.33dc0893@korv>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080225161130.0be0214b@korv \
    --to=sebastian.noack@googlemail.com \
    --cc=normalperson@yhbt.net \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).