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
@btw-aak▲ 5 net votes
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.