From 1874cab766089c2c8481aabaf1e01190ea747115 Mon Sep 17 00:00:00 2001 From: Dorin Geman Date: Wed, 4 Mar 2026 18:41:15 +0200 Subject: [PATCH] chore: add .gitattributes Ensure *.sh and *.patch files are checked out with LF endings. This prevents CRLF-related execution failures inside Linux containers when developing on Windows. Signed-off-by: Dorin Geman --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..1ffd6cf7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Ensure shell scripts and patch files always use LF line endings. +# Required for correct execution in Linux containers; Windows may use CRLF. +*.sh text eol=lf +*.patch text eol=lf