git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-svnimport: Allow direct access over https.
@ 2006-02-01 21:31 Jason Riedy
  0 siblings, 0 replies; only message in thread
From: Jason Riedy @ 2006-02-01 21:31 UTC (permalink / raw)
  To: git

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-01 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-01 21:31 [PATCH] git-svnimport: Allow direct access over https Jason Riedy

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