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

Bug 339860

Summary: Unclear what "Rebase" in context menu does & no reflog message
Product: [Technology] EGit Reporter: Tobias Oberlies <t-oberlies>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: robin
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Tobias Oberlies CLA 2011-03-14 06:23:39 EDT
When rebasing through the context menu of a branch in the Repositories View, I was unsure what this will actually do. So when I just tried it out, it did something (accordig to the message through fast-forward), but still left me in the dark about what was rebased on what. Next I checked the reflog, but there was no message (and there are two entries instead of one):

$ git reflog
c2bf370 HEAD@{0}:
c2bf370 HEAD@{1}:
37f0195 HEAD@{2}: checkout: moving from refs/heads/root_patterns to 37f0195aa34a56face19d2ff7415fa10

Eventually I figured out what happened (thanks to gitk), but I still find that the context menu entry "Rebase" is far from obvious. The following things could improve the situation:

- Write a reflog message (although this only gives information after the fact)
- Change the label of "Rebase" to "Rebase HEAD onto this branch"
- Open a wizard from the context menu ("Rebase...") and explain what "Rebase" will do in the current situation.
Comment 1 Robin Stocker CLA 2013-09-27 14:05:42 EDT
The label is now "Rebase on Top of". I'm not sure we should change it, because e.g. merge also operates on HEAD and is also just "Merge". The reflog problem was fixed in bug 346350.