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

Re: [PATCH v2] sequencer: remove unreachable exit condition in pick_commits()

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 13, 2023, 00:32 UTC
Message-ID
<xmqqwmwukj4f.fsf@gitster.g>
In-Reply-To
<7ede7c26-9029-4e4b-81a3-f992eff74124@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
Show 8 quoted lines
> On 12/09/2023 11:55, Oswald Buddenhagen wrote:
>> This was introduced by 56dc3ab04 ("sequencer (rebase -i): implement the
>> 'edit' command", 2017-01-02), and was pointless from the get-go: all
>> early exits from the loop above are returns, so todo_list->current ==
>> todo_list->nr is an invariant after the loop.
>> Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
>
> Thanks for updating the commit message, I think it is clearer now
Thanks, both.  Queued.
Previous: Phillip Wood
Message 5 of 5 in “sequencer: remove unreachable exit condition in pick_commits()”
  1. sequencer: remove unreachable exit condition in pick_commits()Oswald Buddenhagen, Sep 3, 2023
  2. Phillip WoodSep 12, 2023
  3. sequencer: remove unreachable exit condition in pick_commits()Oswald Buddenhagen, Sep 12, 2023
  4. Phillip WoodSep 12, 2023
  5. Junio C HamanoSep 13, 2023

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.