Re: [PATCH] git-rebase--interactive.sh: Add new command "shell"
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 10, 2010, 01:42 UTC
- Message-ID
- <20101110014215.GA1503@burratino>
- In-Reply-To
- <20101108222937.GH3167@home.lan>
Yann Dirson wrote:
Show 5 quoted lines
> |Keep in mind that any commit in the original todo list, that would
> |not be there after your edits, would not be included in the resulting
> |rebased branch. In case you realize afterwards that you need such a
> |commit, you can still access it as an ancestor of @{1}, see
> |git-reflog(1) for details.Do you mean @{-1}?Show 6 quoted lines
> Maybe we could list a copy of the todo list in the comments, as a > reference for double-checking. Such a list could even be used for a > final check before applying, that would ask confirmation if the set of > patches has changed, and offer to edit again. The same config item > (eg. advice.interactiveRebase ?) could be used to hide the note and > the check.
Mm, but intentionally dropping commits is common, no?
What would be nice is to be able to do
git rebase --change-of-plans
and somehow get my editor of choice to open with the original todo list (read-only) and the current todo list (read/write).
Well, a person can dream. :)