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

[EGIT PATCH 0/5] Support linked resources in repositories

From
Shawn O. Pearce <spearce@spearce.org>
Date
Aug 6, 2008, 03:09 UTC
Message-ID
<1217992180-5697-1-git-send-email-spearce@spearce.org>

Sometimes users need to create links inside of a project to point back to their Git working directory. This is sort of like a symlink in POSIX, but its managed at the Eclipse workspace level.

If a resource is contained within a linked directory and that is also within a Git repository we want to allow Git operations on that linked resource to operate using the paths of the files as they are in the repository working directory, and not the path of the files in the Eclipse workspace.

Shawn O. Pearce (5):
  Remove the pointless GitProjectData resource change listener
  Don't crash the decorator update loop when resources are deleted
  Fix RepositoryMapping.getRepoRelativePath to honor linked resources
  Change GitProjectData.getRepositoryMapping to work on linked
    resources
  Correct getRepositoryMapping callers to use any IResource
 .../egit/core/op/ConnectProviderOperation.java     |   14 +---
 .../org/spearce/egit/core/op/UntrackOperation.java |    4 +-
 .../spearce/egit/core/project/GitProjectData.java  |  111 ++++++--------------
 .../egit/core/project/RepositoryFinder.java        |   11 +--
 .../egit/core/project/RepositoryMapping.java       |   79 ++++++--------
 .../egit/ui/internal/actions/CommitAction.java     |    2 +-
 .../internal/decorators/GitResourceDecorator.java  |   11 ++-
 7 files changed, 81 insertions(+), 151 deletions(-)
Next: Shawn O. Pearce
Message 1 of 6 in “Support linked resources in repositories”
  1. 0/5 Support linked resources in repositoriesShawn O. Pearce, Aug 6, 2008
  2. 1/5 Remove the pointless GitProjectData resource change listenerShawn O. Pearce, Aug 6, 2008
  3. 2/5 Don't crash the decorator update loop when resources are deletedShawn O. Pearce, Aug 6, 2008
  4. 3/5 Fix RepositoryMapping.getRepoRelativePath to honor linked resourcesShawn O. Pearce, Aug 6, 2008
  5. 4/5 Change GitProjectData.getRepositoryMapping to work on linked resourcesShawn O. Pearce, Aug 6, 2008
  6. 5/5 Correct getRepositoryMapping callers to use any IResourceShawn O. Pearce, Aug 6, 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.