From a151190bef8769bb644f08e6fa423c7fe423a1dd Mon Sep 17 00:00:00 2001 From: Thomas Wolf Date: Thu, 18 Oct 2018 23:34:04 +0200 Subject: 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 --- org.eclipse.jgit.pgm/BUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'org.eclipse.jgit.pgm/BUILD') 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", ], ) -- cgit v1.2.3