diff options
Diffstat (limited to 'www/docs')
-rw-r--r-- | www/docs/patch.t | 20 |
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 | |
44 | format 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 |
45 | format listed on the <a href="contributing.html">Contributing to Rockbox</a> | ||
46 | page, and be posted to the <a | ||
47 | href="http://sourceforge.net/tracker/?group_id=44306&atid=439120">patch | ||
48 | tracker</a>. Patches sent to the mailing list are quickly lost in the traffic | ||
49 | of 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 | ||
80 | clean. It doesn't actually apply the patch, only prints what would happen if | ||
81 | you run it. | ||
82 | <p> | ||
83 | You can remove a patch again from the sources by doing the reverse action of | ||
84 | a 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" |