Skip to content

Wrong EOL in diff viewer #11831

@mstv

Description

@mstv

Environment

Issue description

  1. Diff viewer shows EOL as LF although files have CRLF
  2. For "\ No newline at end of file", the coloring of the previous line should be re-used

grafik
grafik

removed from EOF again:

grafik

Steps to reproduce

append a (missing) newline to a (cmake) file

Did this work in previous version of GitExtensions?

Yes, even with the current version but only for some files, as in gitextensions/ICSharpCode.TextEditor@cc84160 or for #10697.
Similar behavior can be reproduced with GE 2.51.01 with git 2.16.2, too.

Diagnostics

$ git config --show-origin core.autocrlf
file:C:/Program Files/Git/etc/gitconfig true

git output is not much clearer:

grafik

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions