* text=auto
*.sh text eol=lf
*.csv text eol=lf
*.toml text eol=lf

# Vendored browser assets. These are embedded verbatim with include_str!/include_bytes! and
# their exact bytes are hashed for Subresource Integrity. Under `* text=auto` above, a Windows
# checkout rewrites them to CRLF, which changes those bytes: the build then emits an SRI
# attribute that cannot match what the CDN serves, and the browser refuses to run the script.
# `-text` pins them to their upstream bytes on every platform.
src/cmd/assets/** -text
# Statistical-package fixtures for `readstat`. Their exact bytes matter. SPSS portable
# (.por) in particular is a printable-charset format with no NUL bytes, so the `* text=auto`
# rule above classifies it as TEXT and a Windows checkout would rewrite its line endings,
# corrupting the fixture. `-text` pins them all to their committed bytes on every platform.
resources/test/readstat_* -text
resources/test/writestat_* -text

# Generated by `qsv --update-mcp-skills` / `qsv --generate-help-md` and compared byte-for-byte
# against the binary's own output by tests/test_tool_defs.rs. Under `* text=auto` a Windows
# checkout rewrites them to CRLF, so they no longer match the LF the binary emits. Pin LF.
docs/help/*.md text eol=lf
.claude/skills/qsv/*.json text eol=lf

resources/test/test-windows1252.csv encoding=cp1252
resources/test/test-utf16le.csv encoding=utf-16le
