Bug 470464 - Support for autosquash in interactive rebase
Summary: Support for autosquash in interactive rebase
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-18 06:05 EDT by Michael Schnell CLA
Modified: 2015-06-18 07:06 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 Michael Schnell CLA 2015-06-18 06:05:01 EDT
EGit is missing the "autosquash" feature of interactive rebase. 

See --autosquash in git-rebase manual page.


Suggestion:
EGit could provide an autosquash button next to the "Move up" and "Move down" buttons. A click on this button then reorders "fixup! ..." and "squash! .." commits and adjusts their actions.

Furthermore EGit could read the configuration "rebase.autosquash" to automatically enable this feature like CGit does.
Comment 1 Matthias Sohn CLA 2015-06-18 07:06:54 EDT
The basic support for --autosquash needs to be implemented in JGit.

I don't see the need for an additional button in EGit since the reordering should already happen automatically when invoking interactive rebase.

Hence I propose we move this to JGit.