From 8d672afdebb54b1bdc3abb8e45311e7843ae7163 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 23 Feb 2003 19:52:57 +0000 Subject: Added text about -R/--reverse and --dry-run as suggested by Markus Braun git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3326 a1c6a512-1295-4272-9138-f99709370657 --- www/docs/patch.t | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/www/docs/patch.t b/www/docs/patch.t index c7a59269a0..54e999abe4 100644 --- a/www/docs/patch.t +++ b/www/docs/patch.t @@ -40,8 +40,14 @@ changes done to multiple: diff programs don't have that, and then -c (for 'context diff') is OK.

Submitting A Patch

-

All patches that are meant for inclusion in the sources should follow the -format listed on the Contributing to Rockbox page, and be posted to the patch tracker. Patches sent to the mailing list are quickly lost in the traffic of the list itself. + +

All patches that are meant for inclusion in the sources should follow the +format listed on the Contributing to Rockbox +page, and be posted to the patch +tracker. Patches sent to the mailing list are quickly lost in the traffic +of the list itself. +

Please keep in mind that not all submitted patches will be accepted. @@ -69,5 +75,15 @@ manually. patch -p2 < patchfile ... each example line removes one extra level of dir info from the left. +

+ You can use the --dry-run option to patch to make sure that the patch applies +clean. It doesn't actually apply the patch, only prints what would happen if +you run it. +

+ You can remove a patch again from the sources by doing the reverse action of +a specific patch. You do this with the -R (or --reverse) options, such as: +

+  patch -p1 -R < patchfile
+
#include "foot.t" -- cgit v1.2.3