diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2018-10-18 23:34:04 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2018-11-14 04:47:33 -0800 |
commit | a151190bef8769bb644f08e6fa423c7fe423a1dd (patch) | |
tree | d0fb8e0c4b502f4fdbfaa6fc3cc6be8dfed033d4 /org.eclipse.jgit.pgm/BUILD | |
parent | c56fa51709278f2be4e155ae5fbad270188cbe64 (diff) | |
download | jgit-a151190bef8769bb644f08e6fa423c7fe423a1dd.tar.gz jgit-a151190bef8769bb644f08e6fa423c7fe423a1dd.zip |
Add --ssh option to command-line commands
Enables using the new ssh client based on Apache MINA sshd instead
of the old JSch client. The default is still JSch, so unless the
command is invoked with --ssh apache, there's no change.
I prefer this over some fiddling with the GIT_SSH environment variable
since that variable is handled in the JGit core bundle, which should
remain free of any dependency to org.eclipse.jgit.ssh.apache to avoid
problems in Gerrit or other JGit users that may use a different Apache
MINA sshd version.
Bug: 520927
Change-Id: I8460759c7113ef7887520fb0d297aa312200c69f
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.pgm/BUILD')
-rw-r--r-- | org.eclipse.jgit.pgm/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.pgm/BUILD b/org.eclipse.jgit.pgm/BUILD index abd85566ad..64edfa822d 100644 --- a/org.eclipse.jgit.pgm/BUILD +++ b/org.eclipse.jgit.pgm/BUILD @@ -23,6 +23,7 @@ java_library( "//org.eclipse.jgit.lfs:jgit-lfs", "//org.eclipse.jgit.lfs.server:jgit-lfs-server", "//org.eclipse.jgit.ui:ui", + "//org.eclipse.jgit.ssh.apache:ssh-apache", ], ) |