Code

t4034: diff.*.wordregex should not be "sticky" in --word-diff
authorJohannes Sixt <j6t@kdbg.org>
Wed, 14 Mar 2012 19:50:21 +0000 (20:50 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Mar 2012 21:39:01 +0000 (14:39 -0700)
commit62d39359af1a46de68b600c0dc73a98b78aa5523
tree5ee0ca78e82db8593089f1cf7ab956022896f0c2
parenta46034819ecce6872bff099f3d75589f4d38c00c
t4034: diff.*.wordregex should not be "sticky" in --word-diff

The test case applies a custom wordRegex to one file in a diff, and expects
that the default word splitting applies to the second file in the diff.
But the custom wordRegex is also incorrectly used for the second file.

Helped-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4034-diff-words.sh