Re: [PATCH] Teach 'rebase -i' the command "amend"
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 6, 2009, 05:53 UTC
- Message-ID
- <4ACADB73.1080504@viscovery.net>
- In-Reply-To
- <alpine.DEB.1.00.0910052318230.4985@pacific.mpi-cbg.de>
Johannes Schindelin schrieb:
Show 5 quoted lines
> Are you serious? "rebase -i" was _always_ about showing an edit script, > i.e. to tell Git _what_ you want to do with _which_ commits, identified by > short commit names. > > The oneline was _always_ meant as a pure convenience for the user.
Good that you mention it: The one-liner is really convenient. I tend to replace it by reminders like "====== fix unused var", "===== edit msg", etc. (after marking the commit "edit") and I'm glad that rebase-i later prints the one-liner from the insn file rather than the original subject line before it stops.
(I do it this way because on Windows I can't afford to call rebase-i on a long patch series for every single task. Rather, I plan the tasks while the insn editor is open, and this way I keep reminders about what the plan was.)
No, I definitely don't want the one-liners to end up in the commit message. ;-)
-- Hannes