by alraj on 11/6/24, 6:20 AM with 18 comments
by qazxcvbnm on 11/14/24, 1:34 AM
Instead of directly editing the unified diff file, make a copy and edit the copy. Once you’re done, call rediff original-patch edited-patch to get a patchfile with fixed offsets.
Note that rediff only fixes your offsets, and doesn’t remove empty hunks. patch is not happy about empty hunks existing, so if you happen to revert all changes in a hunk, remember to delete the hunk after rediff. Probably this ought to be contributed back upstream.
by lionelw on 11/14/24, 9:43 AM
I've used Git Cola on Linux and Github Desktop on Windows. Both free.
by ris on 11/13/24, 10:06 PM
by impure on 11/13/24, 5:57 PM
by rapidlua on 11/13/24, 6:20 PM
by Optimal_Persona on 11/13/24, 6:14 PM