From 43c3c99dde1b5002097872f8d08bb2726f39a0ac Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 26 Feb 2026 01:05:26 +0100 Subject: [PATCH] chore: add repository .gitattributes for line ending normalization --- .gitattributes | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..d8a52c2e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +# Default to LF for text files across the repo +* text=auto eol=lf + +# Windows scripts should keep CRLF +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Shell scripts should keep LF +*.sh text eol=lf + +# Common binary assets +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.webp binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.woff binary +*.woff2 binary