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

Re: [PATCH] rebase: mention --abort alongside --continue

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 20, 2026, 02:29 UTC
Message-ID
<xmqq8q76jsvk.fsf@gitster.g>
In-Reply-To
<9a0b542c-8984-4d73-8e24-00adf6dcd427@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
Show 12 quoted lines
>>> Perhaps the user is not interested in "rebasing" the history at
>>> all, but is instead running a check on each and every commit.
>>> That is, a more expensive version of:
>>>
>>>          for commit in $(git rev-list bottom..top)
>>>          do
>>>                  git reset --hard "$commit" &&
>>>                  do the exec command || break
>>>          done
>>>
>>> that just happens to be shorter to type?
>>> Sure, that's exactly right.
Show 6 quoted lines
> I think I must be missing something; I had assumed that someone running 
> a check on each commit wanted to ensure it passed, and, if not, they 
> would want to fix the problem that caused the check to fail. In that 
> case I would expect that they would want to amend the failing commit, 
> rather than abort the rebase. What's the scenario where one wants to 
> check a bunch of commits but not fix the ones that fail?

I suspect that is what makes this user "not interested in 'rebasing'". If finding a single breakage in the history is all they want to accomplish (perhaps because they merely file a bug report and make it someone else's job to fix it), they have no desire to amend and continue the run to find further problems in subsequent commits.

Which, of course, makes me even less sympathetic to the proposed change.

Thanks.
Previous: Phillip Wood
Message 14 of 14 in “rebase: mention --abort alongside --continue”
  1. rebase: mention --abort alongside --continueHarald Nordgren via GitGitGadget, Jun 15, 2026
  2. Phillip WoodJun 16, 2026
  3. Junio C HamanoJun 16, 2026
  4. Harald NordgrenJun 17, 2026
  5. Phillip WoodJun 17, 2026
  6. Junio C HamanoJun 17, 2026
  7. Harald NordgrenJun 18, 2026
  8. Junio C HamanoJun 19, 2026
  9. Harald NordgrenJul 16, 2026
  10. Phillip WoodJul 16, 2026
  11. Junio C HamanoJul 16, 2026
  12. Harald NordgrenJul 18, 2026
  13. Phillip WoodJul 18, 2026
  14. Junio C HamanoJul 20, 2026

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.