From 7ab56d42fcec090b74dcdc819b7c8bfb646bf77a Mon Sep 17 00:00:00 2001 From: ayo <93222141+countervolts@users.noreply.github.com> Date: Sat, 3 Oct 2026 03:06:48 -0400 Subject: [PATCH] Keep patch files LF on Windows checkouts Patches are applied with git apply, which fails on CRLF. With core.autocrlf=true Git also reported every .patch file as modified. --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dc0586d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# Patches are applied with `git apply`, which fails on CRLF. Keep them LF even +# where core.autocrlf=true (Windows checkouts). +*.patch text eol=lf