From 22139e4b8716e0ce1a7c058fa6969d974cef3333 Mon Sep 17 00:00:00 2001 From: Aharrypotter <34+aharrypotter@noreply.localhost> Date: Wed, 2 Sep 2026 11:34:48 +0800 Subject: [PATCH] chore: pin shipped text formats to LF This repository's drivers are shell scripts executed on Linux accelerator hosts, and its consumers record the SHA-256 of the files they ran. With Git's default autocrlf on Windows a checkout rewrites those files with CRLF, which breaks the shell drivers outright and changes every digest a receipt refers to. --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..200c7e4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# Everything here runs on Linux accelerator hosts, and campaign receipts record +# the SHA-256 of the harness files they were produced by. A CRLF checkout on +# Windows would both break the shell drivers and change every recorded digest, +# so pin the text formats this repository ships. +*.py text eol=lf +*.sh text eol=lf +*.json text eol=lf +*.yaml text eol=lf +*.csv text eol=lf +*.tsv text eol=lf +*.txt text eol=lf +*.md text eol=lf