Given that the one-word file has changed, the βnormalβ git diff looks like this:

While git diff --word-diff=color looks like this:

Is it possible to combine these two to highlight separate lines with highlighted words? Something like that:

It may be trivial, but I could not understand.
git git-diff
Stefan
source share