Re: [RFE] Allow for "interactive"-like actions in non-interactive rebase
- Date: Tue, 07 May 2019 03:02:27 +0300
- From: Konstantin Kharlamov <hi-angel@xxxxxxxxx>
- Subject: Re: [RFE] Allow for "interactive"-like actions in non-interactive rebase
On Пн, May 6, 2019 at 18:25, Eric Sunshine <sunshine@xxxxxxxxxxxxxx>
On Mon, May 6, 2019 at 4:30 PM Emily Shaffer
On Fri, May 03, 2019 at 06:04:15PM +0300, Konstantin Kharlamov
> Interactive rebase (i.e. for example "git rebase -i HEAD~10") is
> often to apply an action to a single commit, e.g. "rename",
> Instead, it would be nice to have native support in git to start
> for a given commit, and pass the "interactive action" to use on
> $ git rebase -i HEAD~10 --action edit
> $ git rebase -i HEAD~10 --action rename
> $ git rebase -i HEAD~10 --action fixup
I would totally use this. The equivalent workflow right now is a
large number of steps for, say, fixing a typo.
Isn't this pretty much what Phil Hord's RFC patch series was about?
However, Junio outlined a generalization of that approach providing
more flexibility and control.
Thanks, indeed it is. I replied on the corresponding emails.