An editor that converts tabs, a trailing space someone removed, a reformatted indent: suddenly diff reports half the file as changed. Most of those changes don’t matter.
diff -b old.conf new.conf
-b treats any run of spaces and tabs as equal to any other run, and ignores whitespace at the end of a line. So a b with two spaces and a b with one space and a trailing one count as the same line. Plain diff calls them different and diff -b finds no difference.
There’s a stronger version, -w, which ignores all whitespace, even where there was none: ab and a b are equal with -w but not with -b. I prefer -b, because a missing space between two words is often a real change.
Two related options help with the rest of the noise: -B ignores changes that only add or remove blank lines, and -Z only ignores trailing whitespace.
Don’t use these when whitespace matters. In YAML, Python and Makefiles, indentation is part of the meaning, and a changed indent that -b hides can be exactly the bug you’re looking for. The same goes for patches: one made with -b may not apply to the original file.
Further reading: diff(1) manual page, GNU diffutils manual