How to patch --dry-run but still view rejects?
I want to test a patch using --dry-run
, but when it fails, I don't get any reject files. Is there any wa开发者_如何学JAVAy to do a dry run but keep the reject files so I can see what went wrong?
patch -o /dev/null
(without --dry-run
) should send the successful hunks into oblivion and keep the reject files.
精彩评论