But after a session of hacking code and creating a series of patch sets to hold various forays into the jungle, it comes time to want to refactor those patches into a more ordered form for publishing with related changes together and in a sensible order.
There are nice SO recipes [2] to do this on the command line with hunks.
Even though I am a command line junkie, there are times where I would like to use a tool that would let me zoom in on fine-grained line changes and interactively move them up or down the patch stack.
The SourceTree [3] app has a nice user interface. It has a "Reverse hunk" command and I imagine something like "Move hunk to..."
This is a hard problem, but reorganizing and refactoring patches would be a lot faster with a tool like that.
[1] https://github.com/ctmarinas/stgit [2] https://stackoverflow.com/questions/22702642/how-to-split-a-patch-in-stgit [3] https://www.sourcetreeapp.com/