News for hackers. Stuff that matters.
Re:In Praise of Stacked PRs by WookieRushing on Monday July 25, 2022 @02:46AM (#32221259)
Mercurial solves this 90% of the way with hg absorb: https://gregoryszorc.com/blog/2018/11/05/absorbing-commit-ch...

Its extremely close to magic. You make all the requested changes on the PR4 and type hg absorb and it'll figure out which commit in your stack each change belongs to.

I've used this to work on lots of stacks 20 commits deep in mercurial.

Re:In Praise of Stacked PRs by krobelus on Monday July 25, 2022 @04:02AM (#32221707)
The equivalent to "hg absorb" for Git is https://github.com/torbiak/git-autofixup