[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(-)