From f0769af30e7e629f74021bb2d4b85d9712170b50 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 28 Nov 2026 17:25:22 -0800 Subject: [PATCH] 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. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..e3ff66fc1c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# The DXF writer goldens are compared byte for byte with the writer's output (LF line endings). +crates/cad/tests/data/*.dxf -text