author | Boyd Stephen Smith Jr <bss@iguanasuicide.net> | |
Wed, 21 Jan 2009 03:46:57 +0000 (21:46 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 21 Jan 2009 08:51:12 +0000 (00:51 -0800) | ||
commit | 98a4d87b87e9846eafd21ba232cc2b7ba3f718fc | |
tree | 801c8a827250699199969198c34878714fb65617 | tree | snapshot |
parent | 80c49c3de2d5a3aa12b0980a65f1163c8aef0c16 | commit | diff |
color-words: Support diff.wordregex config option
When diff is invoked with --color-words (w/o =regex), use the regular
expression the user has configured as diff.wordregex.
diff drivers configured via attributes take precedence over the
diff.wordregex-words setting. If the user wants to change them, they have
their own configuration variables.
Signed-off-by: Boyd Stephen Smith Jr <bss@iguanasuicide.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When diff is invoked with --color-words (w/o =regex), use the regular
expression the user has configured as diff.wordregex.
diff drivers configured via attributes take precedence over the
diff.wordregex-words setting. If the user wants to change them, they have
their own configuration variables.
Signed-off-by: Boyd Stephen Smith Jr <bss@iguanasuicide.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt | diff | blob | history | |
Documentation/diff-options.txt | diff | blob | history | |
diff.c | diff | blob | history | |
t/t4034-diff-words.sh | diff | blob | history |