atom / git-diff

Diff markers in Atom's gutter
MIT License
102 stars 41 forks source link

CRLF showing as changes when git commits them in LF #116

Closed matthieuheitz closed 5 years ago

matthieuheitz commented 7 years ago

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.

oskbor commented 7 years ago

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 :(

the-j0k3r commented 6 years ago

Ill add a me too here

maxbrunsfeld commented 5 years ago

This issue was moved to atom/atom#17999