To check what line endings were actually committed in the repository (regardless of your core.autocrlf
setting), try the following:
git grep -I --files-with-matches --perl-regexp '
' HEAD
(-I
means that binary files should not be looked at.)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…