Skip to content

Commit 3747c01

Browse files
sschuberthEric Wong
authored andcommitted
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 <[email protected]> Signed-off-by: Sebastian Schuberth <[email protected]> Signed-off-by: Eric Wong <[email protected]>
1 parent 2bba2f0 commit 3747c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perl/Git/SVN/Ra.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ sub gs_do_switch {
295295
my $full_url = add_path_to_url( $self->url, $path );
296296
my ($ra, $reparented);
297297

298-
if ($old_url =~ m#^svn(\+ssh)?://# ||
298+
if ($old_url =~ m#^svn(\+\w+)?://# ||
299299
($full_url =~ m#^https?://# &&
300300
canonicalize_url($full_url) ne $full_url)) {
301301
$_[0] = undef;

0 commit comments

Comments
 (0)