summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java2
1 files changed, 1 insertions, 1 deletions
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 8132ac3c39..bb791ed439 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java
@@ -309,7 +309,7 @@ public class TransportGitSsh extends SshTransport implements PackTransport {
List<String> args = new ArrayList<String>();
args.add(ssh);
if (putty)
- args.add("--batch");
+ args.add("-batch");
if (0 < getURI().getPort()) {
args.add(putty ? "-P" : "-p");
args.add(String.valueOf(getURI().getPort()));