From 3cb8cf8f1c37a22102a5d459d1097e7d70dfca82 Mon Sep 17 00:00:00 2001 From: Nicholas Karlson Date: Sat, 8 Nov 2025 20:28:58 -0800 Subject: [PATCH] chore: enforce LF for text; keep binaries untouched --- .gitattributes | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index c821603..4b225a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,11 @@ -* text=auto eol=lf -*.bat eol=crlf -*.ps1 eol=crlf +# Text +*.py text eol=lf +*.md text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.txt text eol=lf + +# Keep these as-is (binary) +*.png -text +*.pdf -text +*.docx -text