Author: mgrigorov
Date: Mon Aug  6 10:11:33 2012
New Revision: 1369768

URL: http://svn.apache.org/viewvc?rev=1369768&view=rev
Log:
Use '--cached' to generate a patch


Modified:
    wicket/common/site/trunk/_site/contribute/patch.html
    wicket/common/site/trunk/contribute/patch.md

Modified: wicket/common/site/trunk/_site/contribute/patch.html
URL: 
http://svn.apache.org/viewvc/wicket/common/site/trunk/_site/contribute/patch.html?rev=1369768&r1=1369767&r2=1369768&view=diff
==============================================================================
--- wicket/common/site/trunk/_site/contribute/patch.html (original)
+++ wicket/common/site/trunk/_site/contribute/patch.html Mon Aug  6 10:11:33 
2012
@@ -181,7 +181,7 @@
 <li>Create the patch:</li>
 </ul>
 <div class='highlight'><pre><code class='console'><span class='go'>git add 
any_files_you_created_modified_or_deleted</span>
-<span class='go'>git diff &gt; /tmp/fix-WICKET-NNNN.patch</span>
+<span class='go'>git diff --cached &gt; /tmp/fix-WICKET-NNNN.patch</span>
 </code></pre>
 </div>
 <ul>

Modified: wicket/common/site/trunk/contribute/patch.md
URL: 
http://svn.apache.org/viewvc/wicket/common/site/trunk/contribute/patch.md?rev=1369768&r1=1369767&r2=1369768&view=diff
==============================================================================
--- wicket/common/site/trunk/contribute/patch.md (original)
+++ wicket/common/site/trunk/contribute/patch.md Mon Aug  6 10:11:33 2012
@@ -20,7 +20,7 @@ The steps to submitting a patch for Wick
 
 {% highlight console %}
 git add any_files_you_created_modified_or_deleted
-git diff > /tmp/fix-WICKET-NNNN.patch
+git diff --cached > /tmp/fix-WICKET-NNNN.patch
 {% endhighlight %}
 
 * Attach that file (/tmp/fix-WICKET-NNNN.patch) to the 
[JIRA](https://issues.apache.org/jira/browse/WICKET)


Reply via email to