From 415f12d04f011d6feea0355741c0af8c7b995f5e Mon Sep 17 00:00:00 2001 From: Sleeper85 Date: Wed, 26 Aug 2026 21:51:15 +0200 Subject: [PATCH] Enforce LF line endings for YAML files A CRLF file rewritten by a Windows contributor shows up as a whole-file diff, which hides the real change and conflicts on every rebase. .gitattributes was itself listed in .gitignore, so it could never be committed and protected nothing. --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6a9397a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Every YAML in this repository is stored and checked out with LF endings. +# Without this, a contributor working on Windows can silently reintroduce CRLF +# and rewrite a whole file in the diff for nothing. +*.yaml text eol=lf +*.yml text eol=lf