Re: [RFC PATCH] Make the rebase edit mode really end up in an edit state
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jan 15, 2009, 11:52 UTC
- Message-ID
- <bd6139dc0901150352t2d2fa388x3eb842bbc8c4baa6@mail.gmail.com>
- In-Reply-To
- <200901151101.53441.johan@herland.net>
On Thu, Jan 15, 2009 at 11:01, Johan Herland <johan@herland.net> wrote:
> "modify" does the "git reset --soft HEAD^" (Anders' suggestion) > "amend" requires a "git commit --amend" (current behaviour)
Why have amend do the same as edit? If you add an 'amend' one instead make it drop you into an editor to change the commit message. That's a workflow I often use. Often times I do not have a proper commit message when I commit (sometimes it is the result of "git commit -a -m "tmp"). To me having an 'amend' command that allows one to edit the commit message would make sense a lot :).
> "edit" == "amend", but is deprecated and goes away in the future
And as such, have edit do what it currently does.
-- Cheers, Sverre Rabbelier