From 76ea2fb7adb2a01c5f62e15728b2df8a3792667d Mon Sep 17 00:00:00 2001 From: aiongg Date: Tue, 17 Nov 2026 20:39:27 +0000 Subject: [PATCH] gitattributes: the components index keeps LF line endings on every checkout --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index 0c35cf7c5..750e20ba7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,3 +17,7 @@ crates/fonts-build/tests/fixture/craft-fonts/fonts/**/OFL.txt -text # DXF drawing goldens assert exact writer bytes, including LF on every platform. crates/dxf/tests/data/drawing_*.dxf -text + +# The generated components index is compared byte for byte with the generator's LF output (craft-ui test +# components_index): a Windows checkout must not convert its line endings. +docs/components-index.md text eol=lf