How can I add , as a word separator for git diff --word-diff?
,
For instance I would like the diff to recognize that
function(A,B,C) -> fun
In addition to KurzedMetal's answer: without the quotes it works even better since it doesn't break my bashs autocompletion when hitting TAB.
git diff --word-diff-regex=[^[:space:],]+