title: Git diff -w ignore whitespace only at start & end of lines
body: <p>I love to use <code>git diff -w</code> to ignore whitespace differences. But, I just noticed that it ignores even whitespace differences in the middle of lines. How could I only ignore whitespace differences that come at the start (^) or end ($) of lines?</p>