Differences between revisions 4 and 5
Revision 4 as of 2005-03-22 05:37:22
Size: 713
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 5 as of 2009-09-20 23:35:08
Size: 713
Editor: localhost
Comment: converted to 1.6 markup
No differences found!


Every time I apply patches I have to go read the manual again, and there isn't a wealth of examples.


Probably the best advice is to first try: the '--dry-run' option to experiment with the options until a combination is found that works.

For example using just

patch --dry-run -i japanese.diff

doesn't work, ie patch couldn't figure out that the patch was created with the '-u' option. So this combination works most of the time:

patch --dry-run -u -p0 -i japanese.diff

Then when the patch applies cleanly the '--dry-run' can be safely removed and the patch applied for real.

ApplyingPatches (last edited 2009-09-20 23:35:08 by localhost)