Bug 553028 - Provide equivalent of git rebase --autostash
Summary: Provide equivalent of git rebase --autostash
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 5.6   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-14 01:50 EST by Knut Wannheden CLA
Modified: 2019-11-14 04:33 EST (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 Knut Wannheden CLA 2019-11-14 01:50:39 EST
I think it would be very nice if EGit could provide a checkbox in the Rebase dialog which would achieve the equivalent of `git rebase --autostash` (see https://git-scm.com/docs/git-rebase).

AFAICT JGit already supports this with bug #422951.
Comment 1 Thomas Wolf CLA 2019-11-14 03:55:22 EST
Good idea. Yes, JGit supports it. So it's only missing UI functionality. Care to provide a Gerrit change for this?
Comment 2 Knut Wannheden CLA 2019-11-14 04:11:42 EST
Without ever having browsed the EGit code I am afraid the effort from my side would be too high to justify from the point of view of my employer.

For how I like working with Git this feature would be very valuable. Currently I often resort to the command line and then have to do a refresh in Eclipse afterwards.
Comment 3 Thomas Wolf CLA 2019-11-14 04:28:47 EST
You could stash/unstash manually in EGit before/after doing the rebase. (Context menu in the repositories view.)
Comment 4 Knut Wannheden CLA 2019-11-14 04:33:39 EST
> You could stash/unstash manually in EGit before/after doing the rebase. (Context menu in the repositories view.)

Yes, that works, too. But too many dialogs and clicking for my taste :-)