Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339860 - Unclear what "Rebase" in context menu does & no reflog message
Summary: Unclear what "Rebase" in context menu does & no reflog message
Status: CLOSED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.11   Edit
Hardware: PC Windows Vista
: P3 minor with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 06:23 EDT by Tobias Oberlies CLA
Modified: 2013-09-27 14:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.