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

[PATCH] git-svnimport: Allow direct access over https.

From
Jason Riedy <ejr@cs.berkeley.edu>
Date
Feb 1, 2006, 21:31 UTC
Message-ID
<7756.1138829516@lotus.CS.Berkeley.EDU>

I'm not sure what the benefits of "direct access" are, but it works over https as well as http.

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
---
 git-svnimport.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
71596fc3eb8d2ea25bd8fc99c03d2171d4136d88
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 6e3a44a..63339ef 100755
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
@@ -141,7 +141,7 @@ if($opt_d or $opt_D) {
 	} else {
 		$svn_dir = "";
 	}
-	if ($svn_url->scheme eq "http") {
+	if ($svn_url->scheme eq "http" || $svn_url->scheme eq "https") {
 		use LWP::UserAgent;
 		$lwp_ua = LWP::UserAgent->new(keep_alive => 1, requests_redirectable => []);
 	} else {
-- 
1.1.5.g4a2b
Message 1 of 1 in “git-svnimport: Allow direct access over https.”
  1. git-svnimport: Allow direct access over https.Jason Riedy, Feb 1, 2006

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.