git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Shawn O. Pearce <spearce@spearce.org>
Date
Aug 13, 2008, 03:24 UTC
Message-ID
<1218597849-24412-1-git-send-email-spearce@spearce.org>

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
Message 1 of 1 in “Allow EGit to handle linked resources at any depth”
  1. Allow EGit to handle linked resources at any depthShawn O. Pearce, Aug 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.