If I enter this command in the terminal: git config diff.wsErrorHighlight all
(from Coloring white space in git-diff's output.), then my git diff
correctly shows removed whitespace highlighted in red.
But, for some reason, if I modify my ~/.gitconfig file to permanently have this change:
[diff]
# Automatically detect renames/moves of files in git diffs
# Shows actual changes between files
renames = true
# Shows removed whitespace in diffs
wsErrorHighlight = all
this doesn't work. Doing a git diff
now doesn't show the removed whitespace highlighted in red.
Shouldn't these two ways produce the same result?