Skip to content

Commit

Permalink
Merge pull request #91 from wannessels/master
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeloof committed Jan 31, 2014
2 parents 2a1749a + 602d905 commit fe2623a
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -1043,6 +1043,10 @@ private File createWindowsGitSSH(File key) throws IOException {
// try the (x86) version for 64-bit Windows builds
sshexe = new File(progFiles + " (x86)" + sshPath);
}
if (!sshexe.exists()) {
// try the ssh.exe next to known git.exe
sshexe = new File(new File(gitExe).getParentFile(), "ssh.exe");
}

if (!sshexe.exists()) {
throw new RuntimeException("git plugin only support official git client http://git-scm.com/download/win");
Expand Down

0 comments on commit fe2623a

Please sign in to comment.