by dizzant · 1y ago · 0 comments
I have been searching for a while for good tools to split/regroup diffs in a patch series. hunk.nvim looks interesting. Do you know of similar/competing tools?
I frequently hit a problem where removing a spurious hunk from an old commit causes cascading conflicts in all subsequent commits. Are there tools to propagate hunk removal into the future without the manual conflict-resolution pain?
Thanks again!
In my experience with jj when resolving a conflict, as long as I do it in the earliest change, I will only have to do it once.
Git has the rerere setting [0] which reduces the need to resolve the same conflict over and over
A tool like https://github.com/tummychow/git-absorb has been on my to-try list for a while, but for now I do it by hand.
small edit: It seems that jj supports `jj absorb` now as well. Wonderful!