Differences between version 4 and predecessor to the previous major change of PatchNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Monday, May 30, 2005 8:13:49 pm | by MattBrown | Revert |
Older page: | version 3 | Last edited on Monday, May 30, 2005 1:17:30 pm | by CraigBox | Revert |
@@ -2,7 +2,9 @@
* Use "cvs diff -u" to generate the patch if you got the source from cvs(1) - everyone knows what that is. Developers have scripts to automatically apply a "cvs diff -u" style patch (figuring out -p properly etc). [CVS] also tells you what versions things are applied against, if people need to work back towards what versions you have. Otherwise (if it didn't come from cvs) do a "diff(1) -u" from the top level directory of the /modified/ rather than in the cwd of the /original/. This means that normally you can just apply the patch with patch(1) -p0 and it "just works".
* Send it as an attachment unless explicitly asked otherwise. Otherwise your patch might get wordwrapped and this can cause a lot of confusion.
+
+* It's often sensible to use the extra flags -w and -b to diff to ensure that you're not changing extraneous whitespace in your patch.
-----
CategoryNotes