]> source.dussan.org Git - jgit.git/commit
Fix URIish parsing of absolute scp-style URIs 74/1874/1
authorShawn O. Pearce <spearce@spearce.org>
Tue, 9 Nov 2010 22:36:01 +0000 (14:36 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 9 Nov 2010 22:36:01 +0000 (14:36 -0800)
commit6af7e4d91ab3f4199dc82252e330039854716517
treec8ffac62c93c5eb5ee43dfd22d5cce7e3d02fd3d
parentb087bba3bd6c8f39ff35264703c316569fafe2ab
Fix URIish parsing of absolute scp-style URIs

We stopped handling URIs such as "example.com:/some/p ath", because
this was confused with the Windows absolute path syntax of "c:/path".
Support absolute style scp URIs again, but only when the host name
is more than 2 characters long.

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