Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

git-svn: Support custom tunnel schemes instead of SSH only

This originates from an msysgit pull request, see:

msysgit#58

Signed-off-by: Eric Wieser <wieser.eric@gmail.com>
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
  • Loading branch information...
commit 3747c015704399dea1aa7ae6569a507e5727e20b 1 parent 2bba2f0
@sschuberth sschuberth authored Eric Wong committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  perl/Git/SVN/Ra.pm
View
2  perl/Git/SVN/Ra.pm
@@ -295,7 +295,7 @@ sub gs_do_switch {
my $full_url = add_path_to_url( $self->url, $path );
my ($ra, $reparented);
- if ($old_url =~ m#^svn(\+ssh)?://# ||
+ if ($old_url =~ m#^svn(\+\w+)?://# ||
($full_url =~ m#^https?://# &&
canonicalize_url($full_url) ne $full_url)) {
$_[0] = undef;
Please sign in to comment.
Something went wrong with that request. Please try again.