According to man interdiff:
To reverse a patch, use /dev/null for diff2.
(that is, interdiff file.patch /dev/null is supposed to reverse the patch in file.patch)
That's bullshit. The output is not (or not always) a valid reversed patch.
I attach a patch file 550.patch which is the diff from file1.php to file2.php. I have tried:
interdiff file.patch /dev/null > 550reversed.patch
and then to apply the output supposed-to-be reversed patch to file2.php. Some parts were rejected.
550.patch.txt
550reversed.patch.txt

According to
man interdiff:(that is,
interdiff file.patch /dev/nullis supposed to reverse the patch infile.patch)That's bullshit. The output is not (or not always) a valid reversed patch.
I attach a patch file 550.patch which is the diff from file1.php to file2.php. I have tried:
and then to apply the output supposed-to-be reversed patch to file2.php. Some parts were rejected.
550.patch.txt
550reversed.patch.txt