Просмотр исходного кода

Support GIT_SSH=tortoiseplink

The tortoiseplink command does not understand -batch, even though
it smells like the putty plink command that does use it.  Don't add
-batch if GIT_SSH is tortoiseplink.

Change-Id: I638532a02faa2caf8c39d482094e7ff4f4ec7e78
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
tags/v0.10.1
Shawn O. Pearce 13 лет назад
Родитель
Сommit
86847ee322
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java

+ 1
- 1
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportGitSsh.java Просмотреть файл

@@ -308,7 +308,7 @@ public class TransportGitSsh extends SshTransport implements PackTransport {

List<String> args = new ArrayList<String>();
args.add(ssh);
if (putty)
if (putty && !ssh.toLowerCase().contains("tortoiseplink"))
args.add("-batch");
if (0 < getURI().getPort()) {
args.add(putty ? "-P" : "-p");

Загрузка…
Отмена
Сохранить