From 65ecd4f8c5973a99fa0023713023759764cde76b Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Sun, 27 Sep 2026 20:32:24 -0500 Subject: [PATCH] Enforce LF line endings with .gitattributes "* text=auto eol=lf" so text files are stored with LF, plus binary rules for image types so their bytes are never converted. Existing export-ignore rules are kept. Replaces "* text=false", which had switched normalization off. Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 6481260..7965cfc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,14 @@ +# Normalize line endings to LF in the repository +* text=auto eol=lf + +# Never convert line endings in binary files +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary + .github export-ignore .gitattributes export-ignore .gitignore export-ignore - -# Auto detect text files and perform LF normalization -* text=false