diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2018-09-17 20:36:36 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2018-11-13 10:46:00 -0800 |
commit | 705691ee517900d3359868212a50d4dc7f048245 (patch) | |
tree | d7f56bb707ce1e2f1d9889bce8a355373ac1f708 /org.eclipse.jgit/.settings | |
parent | a630b45e50888e22e6762089b4fc1a3a80cbe7d8 (diff) | |
download | jgit-705691ee517900d3359868212a50d4dc7f048245.tar.gz jgit-705691ee517900d3359868212a50d4dc7f048245.zip |
TransportSftp: eliminate dependency on Jsch
Introduce an FtpChannel abstraction, which can be obtained from a
RemoteSession. In JSchSession, wrap a JSch ChannelSftp as such an
FtpChannel. The JSch-specific SftpException is also mapped to a
generic FtpException. Rewrite TransportSftp to use only the new
abstraction layer.
This makes it possible to provide alternate ssh/sftp implementations.
Bug: 520927
Change-Id: I379026f7d4122f34931df909a28e73c02cd8a1da
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit/.settings')
-rw-r--r-- | org.eclipse.jgit/.settings/.api_filters | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters index 1b56ecd2ed..9e8cecbd7f 100644 --- a/org.eclipse.jgit/.settings/.api_filters +++ b/org.eclipse.jgit/.settings/.api_filters @@ -58,4 +58,12 @@ </message_arguments> </filter> </resource> + <resource path="src/org/eclipse/jgit/transport/RemoteSession.java" type="org.eclipse.jgit.transport.RemoteSession"> + <filter id="404000815"> + <message_arguments> + <message_argument value="org.eclipse.jgit.transport.RemoteSession"/> + <message_argument value="getFtpChannel()"/> + </message_arguments> + </filter> + </resource> </component> |