desktop: line endings changes reported by Git are not displayed in diff

Please summarise the issue in the title, and then use the template below to fill out the details so we can reproduce the issue on our end.

Description

Windows GitHub Desktop shows 282 file changes.

Version

GitHub Desktop version: 0.5.9

OS version: Windows 10

Steps to Reproduce

I have a couple files that are different. It shows that hundreds are different. Further, each file listed as “different” shows NO DIFFERENCES.

Further, I downloaded the ZIP from git (into another folder), and extracted that in place… and it shows 292 file differences. All these files are the same because I just downloaded them from the repository that they belong to.(!)!)???) So I really don’t understand. How can GitHub Windows think that files I downloaded from the repository are different than what’s in the repository?

This application is completely confusing my development process.

Expected behaviour: I’m shown the actual file differences. This worked yesterday on a different machine.

Actual behaviour: It shows that basically every file is different

Reproduces how often: Always

Logs

There may be some relevant information in log files generated by GitHub Desktop:

  • If you are on macOS, attach the most recent log file from: ~/Library/Application Support/GitHub Desktop/logs/*.desktop.production.log
  • If you are on Windows, attach the most recent log file from: %APPDATA%\\GitHub Desktop\\logs\\*.desktop.production.log

The log files are organized by date, so see if anything was generated for today’s date.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 28 (12 by maintainers)

Most upvoted comments

Is there some possible EOL or whitespace issue? I don’t see any option to change that type of comparison.