git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Teach 'rebase -i' the command "reword"

From
Stephen Boyd <bebarino@gmail.com>
Date
Oct 6, 2009, 07:43 UTC
Message-ID
<4ACAF515.2060403@gmail.com>
In-Reply-To
<4ACAEBBA.9000806@gmail.com>
Björn Gustavsson wrote:
Show 8 quoted lines
>> How about this?
>>
>> use commit, but stop to edit (or reword?) the commit message
>
> No, I think that would be misleading, as "stop" means exit to the shell
> so that you can run other git commands. (The documentation says:
> "...the loop will stop to let you fix things, and you can continue
> -the loop with `git rebase --continue`")

Ok, "stop" being misleading makes sense but I still think the English is wrong. Particularly the part about allow editing. Maybe just remove "stop", so

    use commit, but edit the commit message
Show 8 quoted lines
>
> -In both cases, or when a "pick" does not succeed (because of merge
> -errors), the loop will stop to let you fix things, and you can continue
> -the loop with `git rebase --continue`.
> +When "pick" has been replaced with "edit" or when a "pick" does not
> +succeed (because of merge errors), the loop will stop to let you fix
> +things, and you can continue the loop with `git rebase --continue`.
>   

Patch looks good, but if you decide to resend due to my comment above maybe you could think about replacing the word "loop" with "rebase". We should probably just say "the rebase will stop" and "you can continue with `git rebase ..."

Or we could combine yours, mine, and Hannes' versions.
The rebase will stop when "pick" has been replaced with "edit" or when a command fails due to merge errors. When you are done editing and/or resolving conflicts you can continue with `git rebase --continue`.
Previous: Johannes SixtNext: Björn Gustavsson
Message 7 of 8 in “Teach 'rebase -i' the command "reword"”
  1. Teach 'rebase -i' the command "reword"Björn Gustavsson, Oct 5, 2009
  2. Johannes SchindelinOct 5, 2009
  3. Sebastian PippingOct 6, 2009
  4. Stephen BoydOct 6, 2009
  5. Björn GustavssonOct 6, 2009
  6. Johannes SixtOct 6, 2009
  7. Stephen BoydOct 6, 2009
  8. Björn GustavssonOct 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.