diff options
author | Dave Borowitz <dborowitz@google.com> | 2012-06-14 15:07:13 -0700 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2012-06-15 11:43:22 -0700 |
commit | fe1f1b8f8aba60fdd1ad6f0f72e9c9180978cc60 (patch) | |
tree | 817167d134cfb51880c803f00c7fba337e78a449 /org.eclipse.jgit/resources | |
parent | 9346f1cc942cf320130cb303f4299a027d8d306a (diff) | |
download | jgit-fe1f1b8f8aba60fdd1ad6f0f72e9c9180978cc60.tar.gz jgit-fe1f1b8f8aba60fdd1ad6f0f72e9c9180978cc60.zip |
Read .gitmodules config from the tree in SubmoduleWalk
It is not always appropriate to use the .gitmodules file from the
working tree, for example if reading the modules at a specific commit.
And sometimes it is impossible, as in a bare repository.
When using the static factory methods, automatically set up the
appropriate root tree so lazy loading of the config file reads from
the appropriate place. Leave the current behavior of looking in the
working tree as a fallback for the case where walking the index.
Change-Id: I71b7ed3ba16c80b0adb8c5fd85b5c37fd4aef8eb
Diffstat (limited to 'org.eclipse.jgit/resources')
-rw-r--r-- | org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties index 1131c15608..118c9c8870 100644 --- a/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties +++ b/org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties @@ -205,6 +205,7 @@ flagIsDisposed={0} is disposed. flagNotFromThis={0} not from this. flagsAlreadyCreated={0} flags already created. funnyRefname=funny refname +gitmodulesNotFound=.gitmodules not found in tree. headRequiredToStash=HEAD required to stash local changes hoursAgo={0} hours ago hugeIndexesAreNotSupportedByJgitYet=Huge indexes are not supported by jgit, yet |