color-words: make regex configurable via attributes
[gitweb.git] / Documentation / diff-options.txt
index 8689a92d8d10cd98ba7d0d5381e7cc855971413e..1edb82e8e1c0dd9ebb4f246bd4d7f1f68477ea02 100644 (file)
@@ -102,6 +102,10 @@ differences.  You may want to append `|[^[:space:]]` 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.
++
+The regex can also be set via a diff driver, see
+linkgit:gitattributes[1]; giving it explicitly overrides any diff
+driver setting.
 
 --no-renames::
        Turn off rename detection, even when the configuration