[EGIT PATCH] Allow EGit to handle linked resources at any depth

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robin Rosenberg <robin.rosenberg@...>, Marek Zawirski <marek.zawirski@...>
Cc: <git@...>
Date: Tuesday, August 12, 2008 - 11:24 pm

We already were handling linked resources that appear anywhere
in the project, but Eclipse didn't know we were willing to do
that sort of magic in our provider code as we did not override
the correct method for it in GitProvider.

We now support linked folders which are at any level.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
 .../src/org/spearce/egit/core/GitProvider.java     |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/org.spearce.egit.core/src/org/spearce/egit/core/GitProvider.java b/org.spearce.egit.core/src/org/spearce/egit/core/GitProvider.java
index fcab971..a16aca9 100644
--- a/org.spearce.egit.core/src/org/spearce/egit/core/GitProvider.java
+++ b/org.spearce.egit.core/src/org/spearce/egit/core/GitProvider.java
@@ -41,6 +41,11 @@ public class GitProvider extends RepositoryProvider {
 		return true;
 	}
 
+	@Override
+	public boolean canHandleLinkedResourceURI() {
+		return true;
+	}
+
 	public synchronized IMoveDeleteHook getMoveDeleteHook() {
 		if (hook == null) {
 			hook = new GitMoveDeleteHook(getData());
-- 
1.6.0.rc2.242.gb31c

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[EGIT PATCH] Allow EGit to handle linked resources at any de..., Shawn O. Pearce, (Tue Aug 12, 11:24 pm)