atom/git-diff

CRLF showing as changes when git commits them in LF

matthieuheitz opened this issue · 3 comments

I have a file with CRLFs.
I use the git setting that automatically takes care of it, and commits files with LF instead of CRLF.
When I type git diff on that file, I don't see any changes.
Whereas in the Atom Minimap, all the lines are orange, except for the last one.
This makes it impossible to properly use this package since all lines have changes.

Maybe this package should not consider the CRLF instead of LF as a change.
What do you think ?

I already submitted this issue here, and they directed me here.

I also have this issue (albeit inverted). My files are LF and commited as CRLF.
All lines are marked as modified while git says no files are modified :(

Ill add a me too here

This issue was moved to atom/atom#17999