]> source.dussan.org Git - jgit.git/commit
Fix resolving of relative file URIs in TransportLocal 96/6996/1
authorRobin Stocker <robin@nibor.org>
Fri, 27 Jul 2012 09:53:51 +0000 (11:53 +0200)
committerRobin Stocker <robin@nibor.org>
Fri, 27 Jul 2012 10:05:13 +0000 (12:05 +0200)
commitbeee7b86afd5d4e1e9185c1f81640b83d74398f3
tree0c9299f4a1bc6c8f857c50e24e1ef9f0a3c063dd
parentd47403ea941e38377425fe55c71c43a45ceef8ca
Fix resolving of relative file URIs in TransportLocal

A configured remote url like "../repo" works with C Git.

In JGit, it only worked if Java's current working directory happened to
be the local repository working directory.

Change-Id: I33ba3f81b37d03cf17ca7ae25a90774a27e7e02b
Signed-off-by: Robin Stocker <robin@nibor.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/TransportTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportLocal.java