question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

line endings changes reported by Git are not displayed in diff

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:28 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
t7mcommented, Jun 1, 2017

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

0reactions
milan-vugrinchevcommented, Apr 6, 2018

Make an option to hide EOL changes

Read more comments on GitHub >

github_iconTop Results From Across the Web

No differences in git diff but shouldn't be there some due to ...
The working tree still has CRLF line endings as long as no reset (and deletion of index) takes place. And converting CRLF to...
Read more >
The diff view does not handle CR line endings in files gracefully
The diff view lets git itself decide on the correct line endings to use, but the lines can themselves contain line endings of...
Read more >
git-diff Documentation - Git
NAME. git-diff - Show changes between commits, commit and working tree, etc ... This mode picks up any moved line, but it is...
Read more >
CRLF vs. LF: Normalizing Line Endings in Git
We could've also done * text=auto eol=lf , although these two are not identical. Like I mentioned before, if you only use *...
Read more >
Difference between line endings in compared files (external ...
Choose TortoiseGit->Settings->External Programs->Diff Viewer. Setup WinMerge as external diff viewer. · Commit a file. · Change a file. · Choose TortoiseGit->Check ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found