diff options
author | Kevin Sawicki <kevin@github.com> | 2012-02-08 23:10:28 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2012-02-08 23:10:28 +0100 |
commit | 2f79cf9900288991e51b8da408511ead05f4d085 (patch) | |
tree | 7a2afeef6e47a38e63cf4e4d2e6e022e085800bb /org.eclipse.jgit/resources | |
parent | 7bde08e1d4e72385e55b6b31bc7bf5bffdf63a0a (diff) | |
download | jgit-2f79cf9900288991e51b8da408511ead05f4d085.tar.gz jgit-2f79cf9900288991e51b8da408511ead05f4d085.zip |
Support gitdir references in working tree .git file
A '.git' file in a repository's working tree root is now parsed
as a ref to a folder located elsewhere. This supports submodules
having their repository location outside of the parent repository's
working directory such as in the parent repository's '.git/modules'
directory.
This adds support to BaseRepositoryBuilder for repositories created
with the '--separate-git-dir' option specified to 'git init'.
Change-Id: I73c538f6d845bdbc0c4e2bce5a77f900cf36e1a9
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/resources')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties index 5b22801342..8a5e023104 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/JGitText.properties @@ -234,6 +234,7 @@ invalidChannel=Invalid channel {0} invalidCharacterInBase64Data=Invalid character in Base64 data. invalidCommitParentNumber=Invalid commit parent number invalidEncryption=Invalid encryption +invalidGitdirRef = Invalid .git reference in file ''{0}'' invalidGitType=invalid git type: {0} invalidId=Invalid id {0} invalidIdLength=Invalid id length {0}; should be {1} |