diff options
author | floam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-04 06:14:04 +0000 |
---|---|---|
committer | floam <floam@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-04 06:14:04 +0000 |
commit | 6b1006bc8fe171f2f9021156edd5bfa1975a9f40 (patch) | |
tree | c1255faa199cbbbfa2679390ed5173b8170fdb7c /web | |
parent | a55848566e9ecb22d0b30902b9110ba1bc64fd6f (diff) | |
download | ioquake3-aero-6b1006bc8fe171f2f9021156edd5bfa1975a9f40.tar.gz ioquake3-aero-6b1006bc8fe171f2f9021156edd5bfa1975a9f40.zip |
* Also show how to send to a file, sysrq is a genius
git-svn-id: svn://svn.icculus.org/quake3/trunk@264 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'web')
-rw-r--r-- | web/include/instruc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/include/instruc.php b/web/include/instruc.php index 2ea2d8b..8770037 100644 --- a/web/include/instruc.php +++ b/web/include/instruc.php @@ -48,10 +48,10 @@ tested and at list sort-of understand what you're doing.</p> you need to create patches with), and not everyone is making patches against the C code. That's okay, here's the 10ยข survival guide to making patches:</p> <ul> - <li>Create a patch between <em class="shell">oldfile</em> and <em class="shell">newfile</em>:<br /> - <span class="shell">diff -u <em>oldfile</em> <em>newfile</em></span></li> - <li>Create a patch between directory <em class="shell">olddir</em> and <em class="shell">newdir</em>:<br /> - <span class="shell">diff -Naur <em>olddir</em> <em>newdir</em></span></li> + <li>Create a patch named <em class="shell">amazing_new_feature.patch</em> between <em class="shell">oldfile</em> and <em class="shell">newfile</em>:<br /> + <span class="shell">diff -u <em>oldfile</em> <em>newfile</em> > <em>amazing_new_feature.patch</em></span></li> + <li>Create a patch named <em class="shell">amazing_new_features.patch</em> between directory <em class="shell">olddir</em> and <em class="shell">newdir</em>:<br /> + <span class="shell">diff -Naur <em>olddir</em> <em>newdir</em> > <em>amazing_new_features.patch</em></span></li> <li>Apply a patch <em class="shell">amazing_new_feature.patch</em>:<br /> <span class="shell">patch -p0 -i <em>amazing_new_feature.patch</em></span></li> </ul> |