-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect EOL in diff #8211
Incorrect EOL in diff #8211
Comments
This is how git-diff reports the difference between files |
But GE is not filtering, it displays what git-diff provides, from discussion in #7723 |
While git config core.autocrlf is set to false, if i clone and check out each of the commits and look at them in notepad++, i get this: This leads me to believe that the first line is actually different while it's not reflected in the git extensions diff. |
- update the ICSharpCode.TextEditor submodule to allow EOL differentiation
@hsalameh @RussKie @gerhardol @mstv I will put up a PR for this, please review when it is ready (some things will need design input from you guys, basically just what exactly should we show for the EOL markers). Thanks! |
- update the ICSharpCode.TextEditor submodule to allow EOL differentiation
- update the ICSharpCode.TextEditor submodule to allow EOL differentiation
Current behaviour
When you have a change in the end-of-line character from LF to CRLF, the diff doesn't show that.
Expected behaviour
The diff should show that the removed line had a LF while the added line has a CRLF
Steps to reproduce
Using a windows machine with the git config core.autocrlf set to false, do the following:
1)clone the repo https://github.com/hsalameh/gitext-nonprinting-bug.git
2) open the repo in Git Extensions
3) look at the diff of commit fbd611
4) turn on the "Show nonprinting characters" option
3) as shown in the attached screenshot, the diff should show a difference at the end of the indicated line, but they appear exactly the same. The EOL character should be shown differently in the - and + lines
Screenshots
Did this work in previous version of GitExtensions
I don't know
Environment
Diagnostics
The text was updated successfully, but these errors were encountered: