TofuNinja
TofuNinja

Reputation: 97

Github windows, whole file shows change after commit.

I am using the github windows app. I seem to be having problems with it showing what has changed and what hasn't. Before I commit it correctly shows only the changed lines, but after I commit, it shows that all the lines have changed in the file. Any way to get it to stop this?

It is quite annoying and any help would be appreciated. ps, i made sure that their are no line ending issues.

Upvotes: 5

Views: 744

Answers (1)

Lazy Badger
Lazy Badger

Reputation: 97280

This is usual core.autocrlf issue (different setting in your clients and definitely wrong in Github client) - read "Formatting and Whitespace" topic and core.autocrlf part of it carefully

PS: you can test my statement using differ, which can ignore EOL-difference in compared files

Upvotes: 5

Related Questions