git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-svn: enable platform-specific authentication

From
GMGustav Munkby <grddev@gmail.com>
Date
May 18, 2011, 08:45 UTC
Message-ID
<1305708320-8614-1-git-send-email-grddev@gmail.com>

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
Next: Eric Wong
Message 1 of 5 in “git-svn: enable platform-specific authentication”
  1. git-svn: enable platform-specific authenticationGustav Munkby, May 18, 2011
  2. Eric WongMay 18, 2011
  3. Matthijs KooijmanAug 9, 2011
  4. Matthijs KooijmanJan 3, 2012
  5. Nikolaus DemmelFeb 19, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.