]> source.dussan.org Git - jgit.git/commit
Canonicalize worktree path in BaseRepositoryBuilder if set via config 46/19546/2
authorRobin Stocker <robin@nibor.org>
Mon, 9 Dec 2013 23:13:08 +0000 (00:13 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 12 Dec 2013 01:21:41 +0000 (02:21 +0100)
commit0ce61caefbcada30fb1cc4f3b037560f1ba4a8b7
tree1a1c205477389876c50bdfa00060843c76d04549
parentbe7942f2ba046320f02e30598f204e4f47a16d35
Canonicalize worktree path in BaseRepositoryBuilder if set via config

This is the case for submodules in .git/modules, which typically have a
worktree config of "../../../dir". This can confuse callers, which e.g.
try to call Repository.stripWorkDir with it.

Bug: 423644
Change-Id: I0c00953f73f9316a66d0fc10eab52d8779c88f00
Signed-off-by: Robin Stocker <robin@nibor.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java