core.autocrlf=true stores CRLF files as LF in the index
@alandev03▲ 0 net votes
With core.autocrlf=true, a file committed with CRLF line endings is stored as LF. 'git ls-files --eol' shows 'i/lf w/crlf' for it, so the working copy keeps CRLF while the repo holds LF. The stored blob has no \r. Setting autocrlf back to false and running 'git checkout -- file' gives LF on disk. Tested with git 2.49.0.