Commit Graph
2 Commits
Author SHA1 Message Date
dotCooCoo e32a12ebeb xtask: ui-commands --check passes in a checkout with core.autocrlf
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.
2026-12-03 07:10:28 -08:00
dotCooCoo f0769af30e Tests: the DXF writer goldens keep LF line endings in a checkout with core.autocrlf
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.
2026-11-28 17:25:22 -08:00