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

Re: git-rebase-walk

From
NWNico Williams <nico@cryptonector.com>
Date
Oct 1, 2026, 17:40 UTC
Message-ID
<ar6a8OkGhmYVoM7E@ubby>
In-Reply-To
<ar6LUeH3AjxbiMgd@debian>
On Thu, Oct 01, 2026 at 06:50:08PM +0200, Alejandro Colomar wrote:
Show 5 quoted lines
> > Also, you need some extra handling of conflicts.
> 
> No, that's the nice part.  It works as is.  When I see a conflict, I get
> stopped at the rebase that caused the issue.  I solve that conflict, and
> then can --continue that one rebase.  Or I can --abort that one rebase.
Oh, because of `set -euo pipefail`, hah, yes.
> > https://gist.github.com/nicowilliams/ea2fa2b445c2db50d2ee6509c3526297
> 
> Hmmm, 93 LoC is certainly more interesting than the 4k+ python script.
There is that, indeed.
> I'll have a look.  I'll also attempt at writing a bisect-rebase from
> scratch myself, to compare.
I love that attitude!
> I'll certainly try your script; thanks!
> 
> Out of curiosity, did you offer this script to git(1)?

No, though I think I've mentioned it here before. I'd be happy to submit a patch, but I'd first have to get employer approval for it (which is not a problem -- it will only take time).

> If not, why not?
No real reason other than bureaucracy on my side.
> This is something that would clearly be helpful to people solving rebase
> conflicts in many projects.
I agree!
> Have a lovely night!
Cheers!
Nico
Previous: Alejandro ColomarNext: Alejandro Colomar
Message 16 of 21 in “git-rebase-walk”
  1. Alejandro ColomarOct 1, 2026
  2. Patrick SteinhardtOct 1, 2026
  3. Alejandro ColomarOct 1, 2026
  4. Patrick SteinhardtOct 2, 2026
  5. Alejandro ColomarOct 2, 2026
  6. Nico WilliamsOct 3, 2026
  7. Phillip WoodOct 4, 2026
  8. Alejandro ColomarOct 5, 2026
  9. Alejandro ColomarOct 5, 2026
  10. Phillip WoodOct 6, 2026
  11. Nico WilliamsOct 6, 2026
  12. Alejandro ColomarOct 6, 2026
  13. Junio C HamanoOct 1, 2026
  14. Nico WilliamsOct 1, 2026
  15. Alejandro ColomarOct 1, 2026
  16. Nico WilliamsOct 1, 2026
  17. Alejandro ColomarOct 1, 2026
  18. Nico WilliamsOct 1, 2026
  19. Nico WilliamsOct 1, 2026
  20. Simon RichterOct 2, 2026
  21. Nico WilliamsOct 2, 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.