Having a .diff
patch file, I'm trying to take actions in a shell script depending on if files listed in .diff
file are: 1) already patched, 2) not patched, 3) not patchable.
I found no way on GNU Patch to show this information in a non-interactive basis.
Also would be useful knowing which files are to be patched without patching them. This seem to be easier filtering the .diff
file but would be great if GNU Patch had these features.
Some suggestion on this?