And also - melding the "changed twice" (or thrice...) mutations into a single commit is a brilliant isolation of a subtle common pattern.
The name of the algorithm is “gather”, by Sean Parent and Marshall Clow.
This is only true in the textual level.
Semantically, re-shuffling commits like this can still cause conflicts. Ie it can break your tests. Not at the end, but for the intermediate commits.
It's enough for the tests to pass at each merge point.
FFS for short, which has suitably disgruntled other exclamatory meanings.
i.e. git-delta -n 2 = 'what changed twice'
or if its just what changed twice in every case then just 'git-delta-delta'
chris_wot•1h ago
eru•1h ago