Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351341 - Context menu actions for unstaged changes outside the workspace in the 'Staging' view does nothing
Summary: Context menu actions for unstaged changes outside the workspace in the 'Stagi...
Status: VERIFIED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0-M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 10:55 EDT by Remy Suen CLA
Modified: 2012-04-20 07:07 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2011-07-06 10:55:23 EDT
I have some unstaged changes for some files that aren't in my workspace (like egit/SUBMITTING_PATCHES). Double-clicking doesn't open the compare editor and two of the three menu options in the context menu does nothing ('Replace with File in Git Index', and 'Add to Git Index').

I can DND the file to the bottom to make it a staged file though. From here, I can use the context menu to say 'Remove to Git Index' and that does work.
Comment 1 Dani Megert CLA 2011-09-28 08:52:02 EDT
Also opening the file via double click does not work.
Comment 2 Jens Baumgart CLA 2012-03-19 12:07:27 EDT
1. Add to Git Index is working

2. Opening compare editor via double click is not working

3. Proposed change for making "Replace with file in git index" action work:

https://git.eclipse.org/r/5383
Comment 3 Matthias Sohn CLA 2012-04-02 19:22:46 EDT
merged as 5864314f020aa2767828ced20d5b1ee2746d261c
Comment 4 Dani Megert CLA 2012-04-20 07:03:51 EDT
The merged change only fixes 3. Comparing (on double-click) still does not work in master.
Comment 5 Dani Megert CLA 2012-04-20 07:07:16 EDT
(In reply to comment #4)
> The merged change only fixes 3. Comparing (on double-click) still does not 
> work in master.

Sorry, it actually works for the unstaged changes. What's still not working is Comparing (on double-click) for STAGED changes. Filed bug 377273 for that.