Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361898 - Menu actions should be available for all "semantically similar" objects
Summary: Menu actions should be available for all "semantically similar" objects
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 04:58 EDT by Jan Lohre CLA
Modified: 2011-10-25 04:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lohre CLA 2011-10-25 04:58:25 EDT
One example is the "Reset..." action. It is available for the UI elements of branches, but not on the UI elements for references.
From my point of view branches and references are similar with respect to for example the "reset" operation (both are pointers to a commit).

Thats why I would expect the "Reset..." action is present for both UI elements. The same would apply to "Merge" and "Rebase" and others.

Steps to reproduce:
1. Clone any git repository
2. Right-click on the "origin/master" branch -> Verify that the "Reset..." action is present in the menu
3. Right-click on the "HEAD" reference -> the "Reset..." action is NOT present

Side note: Both "git reset --hard FETCH_HEAD" and "git reset --hard origin/master" work as expected, i.e. the git command line seems to agree with me.

Another note: This is most probably just one example, that's why I have chosen a "generic" subject for this report.