From 664d43261f16cf904dbb1f8dd0b59f1f63287b56 Mon Sep 17 00:00:00 2001 From: Ericran <6282173+Ericran@users.noreply.github.com> Date: Fri, 4 Sep 2026 12:57:32 -0400 Subject: [PATCH] Pin line endings to LF MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This repo already stored LF in git and checked out LF, but nothing said so — Git for Windows sets core.autocrlf=true system-wide, so that held only because this clone happened to override it. The plugin-cs2-addons sibling did not, and checked out CRLF, which made every cross-repo diff read as 100% changed. .gitattributes states the intent in the repo rather than in per-clone config, matching what CI already builds on (ubuntu-latest). `git add --renormalize .` stages nothing else: no tracked file changes content. Co-Authored-By: Claude Opus 5 --- .gitattributes | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8b7896c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# Line endings: LF in git and in every working tree, on every platform. +# Both this repo and its plugin-cs2-addons sibling already store LF; this +# keeps checkouts from drifting per-machine (a Git for Windows install sets +# core.autocrlf=true system-wide) so local builds match CI, which runs on +# ubuntu-latest, and cross-repo diffs against the sibling stay readable. +* text=auto eol=lf + +# Build outputs are gitignored, but if one is ever committed deliberately +# git must not touch its bytes. +*.wasm binary