Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 11 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

What does "Diff" mean? I'm new to GitHub, I apologize in advance for my ignorance.

 

Kind Regards,

 

Robin.

ᴄʏʙᴇʀsᴇᴄᴜʀɪᴛʏ sᴛᴜᴅᴇɴᴛ - Hit the "Kudos" button if you love coding! :)
Commander Lvl 3
Message 12 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

@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


- Mark
Ground Controller Lvl 1
Message 13 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

I agree, thanks to `prettier` showing spaces is almost always not needed in some repos, best way to just persist each user setting per repo

Copilot Lvl 2
Message 14 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

Any updates on this?  I would love to have this be the default for all my PRs.

Ground Controller Lvl 2
Message 15 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

+1 for this important feature

Ground Controller Lvl 1
Message 16 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

+1 - I don't care about whitespaces in 99.9% of cased and I always have to do those few extra clicks to turn it off in each PR.

Copilot Lvl 2
Message 17 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

Please, these are feature will be useful because makes the diff cleaner and help do code reviews focused on main updates of code.

Ground Controller Lvl 2
Message 18 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

Another vote for this feature!  (I would like to be able to set it as a default on a repo-by-repo basis)

Copilot Lvl 2
Message 19 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

This request is now 8 months old.

 

@AndreaGriffiths11 do you have an update?

 

Where can we track this feature request?

 

In the meantime, we can use Octo Mate Chrome extension which - among other things - adds a convenient button which saves a few clicks.

Ground Controller Lvl 2
Message 20 of 21

Re: Feature request: option to always hide whitespace changes when viewing diffs

Or can we get this as a one-click option?