Ignore whitespace in diffs automatically
See original GitHub issueHow about adding ?w=1
to any diff URLs automatically as optional? Personally speaking it’s pretty useful, as I hardly ever care about any changes only in whitespace.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:39
- Comments:33 (9 by maintainers)
Top Results From Across the Web
Ignore white space in code review - The GitHub Blog
Change your view to automatically reduce white space using the new “Diff settings” button, and start your review. Want to comment on white...
Read more >Ignore whitespace in Visual Studio Code git diff view
Is it possible to ignore white-space when viewing code differences of a file (generated by GIT) in Visual Studio Code?
Read more >Ability to ignore whitespace changes in the diffs (BB-11120)
I would like to see the option to ignore space changes in the diff viewer as well. It allows us to focus on...
Read more >Quick Tip: How to Hide Whitespace Changes in Git Diffs
You can hide whitespace changes for GitLab diffs in two ways. First, click the “Hide whitespace changes” button near the top of the...
Read more >Beanstalk — Ignoring Whitespace Changes in Diffs
Ignoring Whitespace Changes in Diffs Sometimes developers commit a lot of whitespace changes along with their actual change.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The w=1 trick is nice for viewing diffs, unfortunately you can’t add comments for the Pull Request which is where this would be most useful.
Really annoying to not be able to see your actual change in a file that accidentally (or intentionally) got formatted as part of a commit, since changing the whitespace doesn’t matter in most languages.
Agree, this should be default. Or at least a toggle option. Please make it happen 👍