git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-svn: enable platform-specific authentication
@ 2011-05-18  8:45 Gustav Munkby
  2011-05-18 19:57 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Gustav Munkby @ 2011-05-18  8:45 UTC (permalink / raw)
  To: git; +Cc: Eric Wong, Gustav Munkby

Use the platform-specific authentication providers that are
exposed to subversion bindings starting with subversion 1.6.

Signed-off-by: Gustav Munkby <grddev@gmail.com>
---
 git-svn.perl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/git-svn.perl b/git-svn.perl
index 0fd2fd2..3f7c3c8 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -4930,6 +4930,9 @@ BEGIN {
 
 sub _auth_providers () {
 	[
+	  $SVN::Core::VERSION lt '1.6' ? () :
+	    @{SVN::Core::auth_get_platform_specific_client_providers(
+	      undef,undef)},
 	  SVN::Client::get_simple_provider(),
 	  SVN::Client::get_ssl_server_trust_file_provider(),
 	  SVN::Client::get_simple_prompt_provider(
-- 
1.7.5.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-19  4:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-18  8:45 [PATCH] git-svn: enable platform-specific authentication Gustav Munkby
2011-05-18 19:57 ` Eric Wong
2011-08-09 21:06   ` Matthijs Kooijman
2012-01-03 20:44     ` Matthijs Kooijman
2012-02-19  4:06       ` Nikolaus Demmel

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).