Is there a simple way to have a diff between two versions of a file, showing only those lines/words that differ by a change to upper-/lowercase? All other differences should be omitted.
Background: I have a VBA project under version control (git) and Microsoft's editor tends to change casing every time a new variable is declared. I want to identify (and possibly count) such changes in order to prevent them from being committed.