Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Suggestion: Flag modified lines with whitespace-only changes #142

Open
Alhadis opened this issue Mar 13, 2016 · 0 comments
Open

Suggestion: Flag modified lines with whitespace-only changes #142

Alhadis opened this issue Mar 13, 2016 · 0 comments

Comments

@Alhadis
Copy link

Alhadis commented Mar 13, 2016

Atom neatly colours lines that've been added, removed or changed since the last commit:
screen shot 2016-03-13 at 8 25 35 pm

Looking at the classes applied to the line, though, it doesn't seem like there's any way to identify lines that've only been modified with whitespace:

screen shot 2016-03-13 at 8 27 24 pm

Having a .git-line-whitespace class would be helpful for theme authors wishing to target lines with cosmetic whitespace changes (the way git diff -w would). In my particular case, I wouldn't mind hiding the highlights completely, but as it is, I've no way of doing so with pure CSS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant