diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-12-15 10:17:01 -0800 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-12-15 10:17:01 -0800 |
commit | 8efbd378e1eaa473d850efe77026abf51041d2f1 (patch) | |
tree | b62dd9a632eb54e27d5a82917066507f37837b5f | |
parent | f5434c2a86fcf55c06cac3b750483e289a53890d (diff) | |
download | jgit-8efbd378e1eaa473d850efe77026abf51041d2f1.tar.gz jgit-8efbd378e1eaa473d850efe77026abf51041d2f1.zip |
Correct plink -batch option
When GIT_SSH is set to use plink, the correct option name is "-batch"
and not "--batch". This was a typo introduced when we added support
for plink via GIT_SSH.
Change-Id: I391660e38f5d208bba11e3f2a8f25922de2af878
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java | 2 |
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())); |