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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 .../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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux