As a user who never cares about seeing whitespace changes, I want to set a option somewhere (on my account?, a repo?, an org?) that stores this setting for use everywhere applicable, so that I don't need open a popout form, check a box, and click a button every single time I view a diff.
Right now, every time I view a diff, I need to go into "Diff settings", "Hide whitespace changes", and then "Apply and reload". This setting does not stick between sessions, pages, or even views of the same diff: simply refreshing the page will show me whitespace changes again!
Thanks for the feedback! I've taken your suggestion and passed it along to the appropriate teams. Thanks again for reaching out 😀 and our apologies for the delayed response.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
+1 for both the feature request and wondering where to track it
Any update on this? Whitespace is so insignificant in everything I do. If you re-indent a bunch of code but only make one small change you get this huge pink blob that makes it look like you make 1000 changes. I would really love an option to make this permanent.
What does "Diff" mean? I'm new to GitHub, I apologize in advance for my ignorance.
@oo7Robin a "diff" is just the comparison of a file between a single commit, multiple commits, tags, branches, etc. . I'm sure you've seen them before: it are the files where you have the red and green markings on lines of code.
A random "diff" from the Atom repo: https://github.com/atom/atom/pull/18988/files