dot/gitconfig.in: Define a plausible word-diff regexp.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 31 Jan 2012 00:30:15 +0000 (00:30 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 31 Jan 2012 00:34:22 +0000 (00:34 +0000)
commitca475e8dafc4e338e4c35436ea53ff644ba4c0d6
tree5a30c435f83983735a286e5b2958791e1354128e
parent84f6bd73ae30ccac159eb201d3c2c4fc9d3aa457
dot/gitconfig.in: Define a plausible word-diff regexp.

Match sequences of alphanumerics and loose non-space punctuation.  This
seems to give relatively good results on plain text with colour output.
Picking out differences in code might be harder, but line-based diffs
work better in such cases anyway: word diff is useful precisely because
it works well on reflowed text, and that's more likely to happen in a
text document than in code.
dot/gitconfig.in