# Shell scripts must stay LF: with git's Windows default (core.autocrlf=true) # they check out as CRLF and bash inside the build containers rejects them. *.sh text eol=lf # Vendored tree-sitter grammars — machine-generated, hide from stats and diffs internal/cbm/vendored/grammars/**/parser.c linguist-generated=true diff=false internal/cbm/vendored/grammars/**/scanner.c linguist-generated=true diff=false # Shell entrypoints must check out LF everywhere: a CRLF shebang line breaks # them under WSL/MSYS (`bash\r: no such file`). The *.sh rule covers scripts; # the git hooks are extensionless and need explicit entries. (#1272) scripts/git-hooks/commit-msg text eol=lf scripts/hooks/pre-commit text eol=lf # Chialisp grammar corpus: one case asserts CRLF comment termination, so this # file must keep its exact bytes on every platform (no eol conversion). (#919) tools/tree-sitter-chialisp/test/corpus/comments.txt -text # llvm-profdata text captures: tests/test_profile_text_parser.py checks their # SHA-256, so they keep their exact bytes on every platform (no eol conversion). tests/fixtures/profile_text/*.proftext -text # Golden profile-map outputs: tests/test_profile_map_v2.py compares the # producer's LF bytes against them, so they keep their exact bytes too. tests/fixtures/profile_map_v2/*.tsv -text