Is it possible to tell patch not to generate .orig and .rej files?
I find it extremely annoying that patch creates these.
|
|
|
To tell patch not to produce backups just omit the To instruct it not to create |
|||
|
|
|
If you're not giving any option to So, one option is to stop creating (or accepting) bad patches. :) Back in the real world, this is a feature. When I don't always fix a bad patch with text from the Once I've fixed up a bad patch, I give this command at the project root to quickly clean things up:
I use it often enough that it stays in my Bash history. I find that Ctrl-R o r i is enough to find the command in my history. |
|||
|
|