Teach URIish to recognize git+ssh and ssh+git synonyms for ssh
commit6fbb5aef9fe5eae9dd05b9204b168552f292ba84
authorShawn O. Pearce <spearce@spearce.org>
Thu, 24 Apr 2008 02:05:42 +0000 (23 22:05 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:16:33 +0000 (11 01:16 -0400)
tree22ede517869079a0f79e9160dffc3f1ba29d9853
parentebcdaddb0fc5e0d98b03c6f001bee0e49a664370
Teach URIish to recognize git+ssh and ssh+git synonyms for ssh

Cogito (which is now dead) has made "git+ssh://" and "ssh+git://"
style URIs popular among a number of users and many Git tutorials
have been written using these sorts of URIs.  This is not the
preferred way to denote an SSH connection, but it is handled by C
Git and is in use by a number of users.  We need to support those
in jgit.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit.test/tst/org/spearce/jgit/transport/URIishTest.java
org.spearce.jgit/src/org/spearce/jgit/transport/URIish.java