From 7d4bef66074363175d7ac669204924991b268ed1 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Mon, 8 Jun 2026 10:40:18 +0200 Subject: [PATCH] Pin .cs working-tree line endings to CRLF .gitattributes marked *.cs as `text` with no `eol=`, so the checked-out line ending was left to each machine's git config. On the CI runner the .cs come out LF, but .editorconfig sets end_of_line=crlf, so dotnet-format's --verify-no-changes flagged every line of every file and the Format check step failed repo-wide (independent of code formatting). Pinning eol=crlf makes the checkout match the editorconfig on every platform. Blobs stay LF; only the working-tree EOL is fixed. Assisted-by: Claude:claude-opus-4-8:Claude Code --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 03177af52..4945948f6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ * text=auto -*.cs text diff=csharp +*.cs text eol=crlf diff=csharp *.sln text eol=crlf *.csproj text eol=crlf