News for hackers. Stuff that matters.
Re:Monospaced Programming Fonts with Ligatures by 21 on Friday July 21, 2017 @04:35PM (#14823594)
The diff could be smarter and notice that you just inserted some white space.

Many GUI apps actually do that but unfortunately not your typical diff or git which insist in dealing with full lines only.

Re:Monospaced Programming Fonts with Ligatures by harrisi on Friday July 21, 2017 @05:29PM (#14823866)
I'm sure many know, but for those who don't, `diff` (and `git diff`) accept -w and -b to ignore all white space and changes in the amount of white space, respectively. I find these very handy.

Somewhat related, if you're looking at a diff on GitHub and want to ignore whitespace, you can just tack on `?w=1` to the URL (https://github.com/blog/967-github-secrets).

Re:Monospaced Programming Fonts with Ligatures by mtm on Friday July 21, 2017 @10:29PM (#14825081)
For github I crafted together this little bookmarklet to ignore whitespace on diffs (use it daily for our code reviews):

javascript:(function()%7Bopen(location.href+'?w=1');%7D)();void(0);

Re:Monospaced Programming Fonts with Ligatures by ghusbands on Friday July 21, 2017 @06:21PM (#14824147)
Though you still end up committing whitespace changes that can then cause unexpected conflicts, later.