summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-02-23 19:52:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-02-23 19:52:57 +0000
commit8d672afdebb54b1bdc3abb8e45311e7843ae7163 (patch)
tree2e45b99f1446c4296441b18b97af22358a1d5600
parentdf194b0fc7365ab6c3f730c6c0213410853bee03 (diff)
downloadrockbox-8d672afdebb54b1bdc3abb8e45311e7843ae7163.tar.gz
rockbox-8d672afdebb54b1bdc3abb8e45311e7843ae7163.zip
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
-rw-r--r--www/docs/patch.t20
1 files 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:
40 diff programs don't have that, and then -c (for 'context diff') is OK. 40 diff programs don't have that, and then -c (for 'context diff') is OK.
41 41
42<h2>Submitting A Patch</h2> 42<h2>Submitting A Patch</h2>
43<p>All patches that are meant for inclusion in the sources should follow the 43
44format listed on the <a href="contributing.html">Contributing to Rockbox</a> page, and be posted to the <a href="http://sourceforge.net/tracker/?group_id=44306&atid=439120">patch tracker</a>. Patches sent to the mailing list are quickly lost in the traffic of the list itself. 44<p>All patches that are meant for inclusion in the sources should follow the
45format listed on the <a href="contributing.html">Contributing to Rockbox</a>
46page, and be posted to the <a
47href="http://sourceforge.net/tracker/?group_id=44306&atid=439120">patch
48tracker</a>. Patches sent to the mailing list are quickly lost in the traffic
49of the list itself.
50
45<p> 51<p>
46 Please keep in mind that not all submitted patches will be accepted. 52 Please keep in mind that not all submitted patches will be accepted.
47 53
@@ -69,5 +75,15 @@ manually.
69 patch -p2 < patchfile 75 patch -p2 < patchfile
70</pre> 76</pre>
71 ... each example line removes one extra level of dir info from the left. 77 ... each example line removes one extra level of dir info from the left.
78<p>
79 You can use the --dry-run option to patch to make sure that the patch applies
80clean. It doesn't actually apply the patch, only prints what would happen if
81you run it.
82<p>
83 You can remove a patch again from the sources by doing the reverse action of
84a specific patch. You do this with the -R (or --reverse) options, such as:
85<pre>
86 patch -p1 -R < patchfile
87</pre>
72 88
73#include "foot.t" 89#include "foot.t"