Skip to contentSkip to conversation

git-svnimport: Allow direct access over https.

PATCH New Jason Riedy 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-svnimport: Allow direct access over https.

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

---

 git-svnimport.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

71596fc3eb8d2ea25bd8fc99c03d2171d4136d88

git-svnimport.perl +1 -1
index 6e3a44a..63339ef 100755
@@ -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 {
Signature · 1 line
1.1.5.g4a2b