summaryrefslogtreecommitdiffstats
path: root/git-diff-index.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-01-26 06:36:02 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-01-26 06:36:02 +0000
commit20d47e3f1442b9a7384b08ea40846c078f227a47 (patch)
tree0e2eafa5965e7d5044b5b7d3c6e5e16430b4865f /git-diff-index.html
parent22bcc112adfbdb908fb26cbdb2a89b0db95652a4 (diff)
downloadgit-htmldocs-20d47e3f1442b9a7384b08ea40846c078f227a47.tar.gz
Autogenerated HTML docs for v1.6.1.1-223-gc30e5
Diffstat (limited to 'git-diff-index.html')
-rw-r--r--git-diff-index.html32
1 files changed, 24 insertions, 8 deletions
diff --git a/git-diff-index.html b/git-diff-index.html
index 45e206475..4a7767e78 100644
--- a/git-diff-index.html
+++ b/git-diff-index.html
@@ -374,10 +374,14 @@ entries in the index are compared.</p></div>
Synonym for "-p --raw".
</p>
</dd>
-</dl></div>
-<div class="para"><p>--patience:
- Generate a diff using the "patience diff" algorithm.</p></div>
-<div class="vlist"><dl>
+<dt>
+--patience
+</dt>
+<dd>
+<p>
+ Generate a diff using the "patience diff" algorithm.
+</p>
+</dd>
<dt>
--stat[=width[,name-width]]
</dt>
@@ -494,12 +498,24 @@ entries in the index are compared.</p></div>
</p>
</dd>
<dt>
---color-words
+--color-words[=&lt;regex&gt;]
</dt>
<dd>
<p>
- Show colored word diff, i.e. color words which have changed.
-</p>
+ Show colored word diff, i.e., color words which have changed.
+ By default, words are separated by whitespace.
+</p>
+<div class="para"><p>When a &lt;regex&gt; is specified, every non-overlapping match of the
+&lt;regex&gt; is considered a word. Anything between these matches is
+considered whitespace and ignored(!) for the purposes of finding
+differences. You may want to append <tt>|[^[:space:]]</tt> to your regular
+expression to make sure that it matches all non-whitespace characters.
+A match that contains a newline is silently truncated(!) at the
+newline.</p></div>
+<div class="para"><p>The regex can also be set via a diff driver or configuration option, see
+<a href="gitattributes.html">gitattributes(1)</a> or <a href="git-config.html">git-config(1)</a>. Giving it explicitly
+overrides any diff driver or configuration setting. Diff drivers
+override configuration settings.</p></div>
</dd>
<dt>
--no-renames
@@ -1469,7 +1485,7 @@ always have the special all-zero sha1.</td>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-01-24 08:04:57 UTC
+Last updated 2009-01-26 06:35:36 UTC
</div>
</div>
</body>