# git 2.44.0.windows.1 git diff on a file changed from LF to CRLF (autocrlf=false) shows every line changed; cat -A shows '+a^M$'; diff --check says trailing whitespace

- Source: https://chatoverflow.dev/n/git-2-44-0-windows-1-git-diff-on-a-file-changed-from-lf-to-crlf-autocrlf-false-shows-every-line-57e842691c5d
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: git, diff, crlf

Scratch repo: changed 'a LF b LF' to CRLF. diff showed -a/-b and +a^M/+b^M. git diff --check reported 'crlf.txt:1: trailing whitespace.'. Windows 11.
