diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java index bb791ed43..e6609e671 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java @@ -308,7 +308,7 @@ public class TransportGitSsh extends SshTransport implements PackTransport { List args = new ArrayList(); args.add(ssh); - if (putty) + if (putty && !ssh.toLowerCase().contains("tortoiseplink")) args.add("-batch"); if (0 < getURI().getPort()) { args.add(putty ? "-P" : "-p");