Code

git-svn: Use GIT_SSH setting if SVN_SSH is not set
authorKarthik R <karthikr@fastmail.fm>
Tue, 18 Aug 2009 23:54:40 +0000 (18:54 -0500)
committerEric Wong <normalperson@yhbt.net>
Wed, 19 Aug 2009 03:51:32 +0000 (20:51 -0700)
commitf3a87d922a0333a56b5a912440aa324883019d81
tree07dad854634895bf239e1b37f3c32fd63b448db2
parent5268f9edc3c86b07a64fcc2679e5ffe39be28d97
git-svn: Use GIT_SSH setting if SVN_SSH is not set

If SVN_SSH is defined, it will be used. Else value in
GIT_SSH is copied to SVN_SSH & then, only on Windows,
the \s are escaped.

On Windows, the shell-variables must be set as follows
    GIT_SSH="C:\Program Files\PuTTY\plink.exe"
    SVN_SSH="C:\\Program Files\\PuTTY\\plink.exe"

See http://code.google.com/p/msysgit/issues/detail?id=305

[ew: fixed indentation to use tabs]

Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Karthik Rajagopalan <karthikr@fastmail.fm>
git-svn.perl