is_submodule_modified(): fix breakage with external GIT_INDEX_FILE
[gitweb.git] / git-svn.perl
index b321c968af33b9995bdf326724f34e99894cec82..4f7dc2b73b75dfed0aac5860c77117559cdd3bcd 100755 (executable)
@@ -26,6 +26,7 @@
                $ENV{SVN_SSH} = $ENV{GIT_SSH};
                if ($^O eq 'msys') {
                        $ENV{SVN_SSH} =~ s/\\/\\\\/g;
+                       $ENV{SVN_SSH} =~ s/(.*)/"$1"/;
                }
        }
 }