Usually a RepositoryMapping has an associated Repository. Not so when it is returned from the RepositoryFinded. Signed-off-by: Robin Rosenberg <robin.rosenberg@xxxxxxxxxx> --- .../egit/core/project/RepositoryMapping.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/org.spearce.egit.core/src/org/spearce/egit/core/project/RepositoryMapping.java b/org.spearce.egit.core/src/org/spearce/egit/core/project/RepositoryMapping.java index e9df630..b49f380 100644 --- a/org.spearce.egit.core/src/org/spearce/egit/core/project/RepositoryMapping.java +++ b/org.spearce.egit.core/src/org/spearce/egit/core/project/RepositoryMapping.java @@ -234,4 +234,11 @@ public static RepositoryMapping getMapping(final IResource resource) { return ((GitProvider)rp).getData().getRepositoryMapping(resource); } + + /** + * @return the name of the .git directory + */ + public String getGitDir() { + return gitdirPath; + } } -- 1.6.2.2.446.gfbdc0 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html