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.
Many GUI apps actually do that but unfortunately not your typical diff or git which insist in dealing with full lines only.
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).
javascript:(function()%7Bopen(location.href+'?w=1');%7D)();void(0);