# WISH: set word-diff-regex for/in gitk

1 messages from 2018-11-20 to 2018-11-20. Participants: Anna Vernerova.
Thread: https://gitlist.dev/t/49865

## Anna Vernerova, 2018-11-20 11:33

Subject: WISH: set word-diff-regex for/in gitk
Message-ID: <1124582873.368304.1542713615728.JavaMail.zimbra@ufal.mff.cuni.cz>
URL: https://gitlist.dev/e/1124582873.368304.1542713615728.JavaMail.zimbra%40ufal.mff.cuni.cz

```
Dear developers,

I am a daily use of gitk; I use the "color words" diff option most often.
I have found no way to set --word-diff-regex for gitk, or to make the command

git config --global diff.wordRegex '.'

have effect on the diffs shown in gitk.

I think the value of --word-diff-regex is effectively discarded in the block at line 215 of gitk-git/gitk,
but it seems that other changes are necessary for the parameter to take any effect.

Being able to configure word-diff-regex would be much appreciated!

Anša

```
