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 '\r' HEAD
(-I
means that binary files should not be looked at.)
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 '\r' HEAD
(-I
means that binary files should not be looked at.)