]> source.dussan.org Git - jgit.git/commit
Support gitdir: refs in BaseRepositoryBuilder.findGitDir 39/6139/2
authorKevin Sawicki <kevin@github.com>
Thu, 10 May 2012 20:32:16 +0000 (13:32 -0700)
committerChris Aniszczyk <zx@twitter.com>
Mon, 4 Jun 2012 16:15:35 +0000 (09:15 -0700)
commit2a18bb304caea46f9fb6fd5e1d37a13f53dc19e4
treeb966dd695daaa9968e5286507e502f9bc1ff28a6
parent8a0169727f8701030aaf05409c9a4cdf45e4965d
Support gitdir: refs in BaseRepositoryBuilder.findGitDir

This allows findGitDir to be used for repositories containing
a .git file with a gitdir: ref to the repository's directory
such as submodule repositories that point to a folder under the
parent repository's .git/modules folder

Change-Id: I2f1ec7215a2208aa90511c065cadc7e816522f62
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/FileRepositoryBuilderTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java