cargo xtask ui-commands --check compares crates/mcp/src/ui_catalog.rs
byte for byte with the rustfmt output the generator produces, which has
LF line endings. With core.autocrlf=true, the Git for Windows default,
git checked the file out with CRLF line endings, so the check and cargo
xtask ci failed on an unchanged tree. The root .gitattributes now marks
the file -text, as it does the DXF writer goldens, so git checks it out
with the LF bytes stored in the index.
export_bytes_match_shared_writer_goldens compares the DXF writer's output
with crates/cad/tests/data/shapes_r12.dxf and shapes_r2018.dxf byte for
byte. With core.autocrlf=true, git checked both files out with CRLF line
endings while the writer emits LF, and the test failed. A root
.gitattributes now marks those files -text, so git checks them out with
the LF bytes stored in the index.