edit-patchedit-patch is a shell script that allows you to easily polish patches. It’s supposed to be used like this:
edit-patch.svn diff | edit-patchgit diff | edit-patchI think you can spot the pattern… The only requirement is that the patch is in unified diff format.
I take no responsibility for lost code or underpants. I would be very happy if somebody could read through the code, look for obvious traps and notify me about the result.