
22 Feb
2017
22 Feb
'17
6:14 a.m.
Quoting Russell Coker (russell@coker.com.au):
I have a diff file that has changes to multiple source files that I want to split up for sending upstream. Is there a good tool for splitting this?
The ideal would be something that takes a list of source files on the command line, and writes the diffs for them to one file and the diffs for everything else to another.
splitdiff(1) divides single unified diff into individual diffs for each of the affected files combinediff(1) can do the reverse operation. http://linuxcommand.org/man_pages/splitdiff1.html Hope that helps!