Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361898

Summary: Menu actions should be available for all "semantically similar" objects
Product: [Technology] EGit Reporter: Jan Lohre <jan.von.loewenstein>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.