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

Re: git-rebase-walk

From
PWPhillip Wood <phillip.wood123@gmail.com>
Date
Oct 4, 2026, 10:03 UTC
Message-ID
<95796d0d-5928-4108-bc27-b7ace4459d2a@gmail.com>
In-Reply-To
<ar9TTB5nmPPAdABE@pks.im>
On 02/10/2026 07:46, Patrick Steinhardt wrote:
Show 11 quoted lines
> On Thu, Oct 01, 2026 at 05:51:58PM +0200, Alejandro Colomar wrote:
>>
>> My script I use it in shadow-utils and in the Linux man-pages project,
>> and is in use today.  I was wondering if there was interest in
>> integrating it to git(1).
> 
> I guess the answer is "maybe". The fact that multiple folks have solved
> similar issues over the course of many years is an indicator that the
> funcitonality may be more generally useful. But it probably shouldn't be
> a separate script, so if we wanted to integrate it I'd think the best
> way forward would be to integrate it into git-rebase(1) directly.

I agree that would be the best way forward. Adding an "--incremental", or "--progressive" option to rebase would be useful I think. For ease of use, I have a strong preference for an implementation where "rebase --continue" handles rebasing onto progressively more recent bases, rather than the multi shot approach where the user has to run "git rebase --incremental" multiple times. Having a multi-shot approach makes it much less clear when we've successfully rebased onto the desired base.

Thanks
Phillip
Show 20 quoted lines
> That's of course more involved though, so I understand in case you're
> not interested in doing that.
> 
>> If not, I will likely provide it in the man-pages repository as a help
>> tool (which might end up packed by distros as part of manpages-utils).
>> Is that okay to you?  (I ask mainly because it's using the git-
>> namespace for commands, so you should at lease be aware of it.)
> 
> I mean overall this is our primary way of extension, by picking up
> utilities that have the "git-" prefix. So arguably you don't have to ask
> us for permission to do that.
> 
> Whether it makes sense to distribute such a tool as part of
> manpages-utils is a different question, and one where I myself am of a
> split mind. But that feels more like a question for distributors rather
> than for us in the Git project.
> 
> Thanks!
> 
> Patrick
Previous: Nico WilliamsNext: Alejandro Colomar
Message 7 of 23 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. Alejandro ColomarOct 8, 2026
  14. Alejandro ColomarOct 8, 2026
  15. Junio C HamanoOct 1, 2026
  16. Nico WilliamsOct 1, 2026
  17. Alejandro ColomarOct 1, 2026
  18. Nico WilliamsOct 1, 2026
  19. Alejandro ColomarOct 1, 2026
  20. Nico WilliamsOct 1, 2026
  21. Nico WilliamsOct 1, 2026
  22. Simon RichterOct 2, 2026
  23. 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.