Code

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