adbfedc366
On a Windows checkout every text file but Rust took CRLF, since `.gitattributes` pinned LF for `*.rs` alone. A test that matches a shader's source on `\n` (`a_fade_twin_blends_by_the_stage_zero_alpha_op`) failed there, and any `include_str!` of a shader, Lua, XML or TOML file read different bytes than on macOS and Linux. `* text=auto eol=lf` now pins LF for every text file, keeping the two byte-for-byte exceptions (the vendored benilla-re tables and kira). Every file in the index is LF already, so a renormalize changes nothing stored; only what a Windows checkout writes changes. Fixes #1998 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
423 B
Plaintext
10 lines
423 B
Plaintext
# Every text file checks out with LF on every platform: tests and `include_str!` read sources,
|
|
# shaders, Lua and XML and match them on "\n", so a Windows checkout must read the same bytes.
|
|
* text=auto eol=lf
|
|
|
|
# Vendored benilla-re tables are compared and read byte for byte; no line-ending conversion.
|
|
reference/*.tsv -text
|
|
|
|
# The vendored kira tree is CRLF in the index and stays byte for byte.
|
|
third_party/kira/** -text
|