From 64abb39d0b8222e7722efab52518f8abc90352c5 Mon Sep 17 00:00:00 2001 From: paste Date: Thu, 25 Jun 2026 21:35:06 -0500 Subject: [PATCH] Add .gitattributes to enforce LF line endings Shell/Python/C sources and the Dockerfile must stay LF so the Linux build and the action entrypoint shebang work. --- .gitattributes | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..cad24a7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# Keep LF on everything the Linux build/runtime executes — CRLF breaks the +# shebang in shell scripts and is undesirable in the C/Python/Docker sources. +* text=auto eol=lf +*.sh text eol=lf +*.py text eol=lf +*.c text eol=lf +Dockerfile text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.mpq binary