From bd4e70280882c4210bd3257ceb86bba8af5e6455 Mon Sep 17 00:00:00 2001 From: devban <141376183+dev-dami@users.noreply.github.com> Date: Mon, 23 Nov 2026 01:33:50 +0100 Subject: [PATCH] Check out every text file as LF on all platforms The first real Windows CI run bootstrapped and built yard fine, but all 15 examples 'differed' from their goldens: actions/checkout converts text to CRLF on Windows and run.ps1 compares bytes. eol=lf also keeps the .trk bytes trackc reads identical on every host. Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitattributes b/.gitattributes index cddf7dc..7bae971 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,10 @@ +# Every text file is LF on every platform: goldens are compared byte for +# byte, and trackc must see the same .trk bytes on Windows as on Linux. +* text=auto eol=lf +# Vendored and built website files keep their bytes. +page/node_modules/** -text +page/dist/** -text + # The committed native seed of trackc (scripts/update_seed.sh): a binary. bootstrap/seed/trackc binary bootstrap/seed/trackc.exe binary