Add dumb transport support for sftp:// style URLs
commitb0f6e4f0e735694865bb763fea7dde2794eaacb2
authorShawn O. Pearce <spearce@spearce.org>
Thu, 8 May 2008 01:11:03 +0000 (7 21:11 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:32:04 +0000 (11 01:32 -0400)
treecbc3624c37142b1545897c5717700471f647fee2
parent286a061dfe53c3822c91abaa4f0a6622de69e14a
Add dumb transport support for sftp:// style URLs

We now support dumb transport over the sftp protocol, which is the
file transfer protocol that is built into SSH2.  The protocol is
commonly available on many systems that have web hosting, but not
Git hosting.  These systems sometimes require publishing content
only through SSH, and recommend sftp clients to their customers
for account management.

Fetching from such a repository is of relatively little value, as
fetching over the unencrypted (and more lightweight) HTTP transport
will be faster.  However we do want to offer push support over this
protocol in the future, so implementing fetch support for it via
the generic dumb walker would at least make our support for this
protocol symmetrical.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/clone/CloneSourcePage.java
org.spearce.jgit/src/org/spearce/jgit/transport/Transport.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportSftp.java [new file with mode: 0644]