Add the --color-words option to the diff options family
commitf59a59e22f0005d799fe1d40e0c1f7e5c1f68b76
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 28 Jul 2006 21:56:15 +0000 (28 23:56 +0200)
committerJunio C Hamano <junkio@cox.net>
Thu, 10 Aug 2006 22:28:57 +0000 (10 15:28 -0700)
treee0390f65a2bfe3b1d1f3468e2a6cbe302dabea70
parent65cdb5f1658c4911b3f17a2e99332e5397c52240
Add the --color-words option to the diff options family

With this option, the changed words are shown inline. For example,
if a file containing "This is foo" is changed to "This is bar", the diff
will now show "This is " in plain text, "foo" in red, and "bar" in green.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/diff-options.txt
diff.c
diff.h