I should be ashamed of myself that I found it only now, after a year of working with GH, I know…

Reviewing PRs on GitHub was a bit of a hassle when whitespaces were involved (that is, until now).

For example, whenever the writer decides to wrap a piece of code with try/catch clause, all the lines in-between will be marked as “changed” by default.

This sucks!

BUT, there’s a simple setup change to ignore whitespace changes:

How to hide whitespace changes in the PR

Have fun reviewing PRs, bye-bye now!