{"thread":{"id":"3212","subject":"[PATCH] git-svnimport: Allow direct access over https.","startedAt":"2006-02-01T21:31:56Z","lastAt":"2006-02-01T21:31:56Z","messageCount":1,"participants":["Jason Riedy"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"15432","messageId":"7756.1138829516@lotus.CS.Berkeley.EDU","threadId":"3212","inReplyTo":null,"subject":"[PATCH] git-svnimport: Allow direct access over https.","fromName":"Jason Riedy","fromEmail":"ejr@cs.berkeley.edu","sentAt":"2006-02-01T21:31:56Z","receivedAt":"2006-02-01T21:31:56Z","isPatch":true,"sender":{"key":"ejr@eecs.berkeley.edu","avatar":"https://gravatar.com/avatar/547fa56f887cab01599edab4e9f813c949c1269e02714f20e0496c56185d9837?d=mp&s=160"},"body":"I'm not sure what the benefits of \"direct access\" are,\nbut it works over https as well as http.\n\nSigned-off-by: Jason Riedy <ejr@cs.berkeley.edu>\n\n---\n\n git-svnimport.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n71596fc3eb8d2ea25bd8fc99c03d2171d4136d88\ndiff --git a/git-svnimport.perl b/git-svnimport.perl\nindex 6e3a44a..63339ef 100755\n--- a/git-svnimport.perl\n+++ b/git-svnimport.perl\n@@ -141,7 +141,7 @@ if($opt_d or $opt_D) {\n \t} else {\n \t\t$svn_dir = \"\";\n \t}\n-\tif ($svn_url->scheme eq \"http\") {\n+\tif ($svn_url->scheme eq \"http\" || $svn_url->scheme eq \"https\") {\n \t\tuse LWP::UserAgent;\n \t\t$lwp_ua = LWP::UserAgent->new(keep_alive => 1, requests_redirectable => []);\n \t} else {\n-- \n1.1.5.g4a2b\n"}]}