MForster added a comment. Well, I tested this on Windows. :-)
forster@Desktop MINGW64 ~/src/llvm-project/clang-tools-extra/test (main) $ git reset --hard 4aba5fa774821279c2e2e26dd6ed6e1c6a151044 && grep 'crlf.cpp ' .gitattributes && file clang-apply-replacements/Inputs/crlf/crlf.cpp HEAD is now at 4aba5fa77482 Use `-text` git attribute instead of `text eol=...` clang-apply-replacements/Inputs/crlf/crlf.cpp -text clang-apply-replacements/Inputs/crlf/crlf.cpp: ASCII text, with CRLF line terminators forster@Desktop MINGW64 ~/src/llvm-project/clang-tools-extra/test (main) $ git reset --hard c9a16e8c3d99173c7525e576d78eed57110d2b08 && grep 'crlf.cpp ' .gitattributes && file clang-apply-replacements/Inputs/crlf/crlf.cpp HEAD is now at c9a16e8c3d99 Drop '* text=auto' from .gitattributes and normalize clang-apply-replacements/Inputs/crlf/crlf.cpp text eol=crlf clang-apply-replacements/Inputs/crlf/crlf.cpp: ASCII text, with CRLF line terminators forster@Desktop MINGW64 ~/src/llvm-project/clang-tools-extra/test (main) $ git reset --hard ac5f7be6a8688955a282becf00eebc542238a86b && grep 'crlf.cpp ' .gitattributes && file clang-apply-replacements/Inputs/crlf/crlf.cpp HEAD is now at ac5f7be6a868 Move test/.gitattributes to clang-tools-extra/test clang-apply-replacements/Inputs/crlf/crlf.cpp text eol=crlf clang-apply-replacements/Inputs/crlf/crlf.cpp: ASCII text, with CRLF line terminators Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D124606/new/ https://reviews.llvm.org/D124606 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits