Re: [PATCH] git-rebase--interactive.sh: Add new command "shell"
- From
Kevin Ballard <kevin@sb.org>
- Date
- Nov 4, 2010, 09:43 UTC
- Message-ID
- <9C0BAFB4-299E-459B-A64A-54D480C5445D@sb.org>
- In-Reply-To
- <AANLkTin7d-RJcy4CHmd5A6LaiphAvHEdbsxJExHt317_@mail.gmail.com>
On Nov 4, 2010, at 2:36 AM, Erik Faye-Lund wrote:
Show 8 quoted lines
> On Thu, Nov 4, 2010 at 6:17 AM, Kevin Ballard <kevin@sb.org> wrote: >> Add a new command "shell", which takes an option commit. It simply exits >> to the shell with the commit (if given) and a message telling the user how >> to resume the rebase. This is effectively the same thing as "x false" but >> much friendlier to the user. >> > > I'm sorry if I'm missing something, but how is this different from "edit"?
Edit cherry-picks a commit, then exits to the shell. I needed to exit to the shell without cherry-picking a commit. As stated in the comments above the diffstat on the patch, the original use case here was something along the lines of
edit 12345 some commit fixup 23456 another commit shell I want to amend the commit after the fixup
-Kevin Ballard