This re-enables whitelisting of specific filetypes to avoid diffs
including irrelevant changes in case of formatting issues. It also fixes
a missing exit code.
Each time we update the clang toolchain, we've needed to deal with diffs
resulting from new clang-format defaults and improvements to existing
settings. This reduces diff checking to just the diffed lines.