From 3ffa9f1d31a1b52b412169308e5b44e79e70e03a Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Wed, 15 Oct 2025 23:28:39 +0200 Subject: [PATCH] [formatters][csharp] Reverted changes of da2185f (linefeed leftover state when switching branches) as this was not the issue. --- formatters/format-csharp.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/formatters/format-csharp.sh b/formatters/format-csharp.sh index 0769ddcc7..27df3279e 100755 --- a/formatters/format-csharp.sh +++ b/formatters/format-csharp.sh @@ -11,15 +11,7 @@ log_title "C# Formatting" if command -v dotnet &> /dev/null; then # Store original directory pushd "$dir" > /dev/null - - # Ensure line endings are reset after checkout from default branch - git rm --cached -r ../spine-csharp/ - git rm --cached -r ../spine-monogame/ - git rm --cached -r ../spine-unity/ - git checkout HEAD -- ../spine-csharp/ - git checkout HEAD -- ../spine-monogame/ - git checkout HEAD -- ../spine-unity/ - + cp .editorconfig ../spine-csharp/ 2>/dev/null || true cp .editorconfig ../spine-monogame/ 2>/dev/null || true cp .editorconfig ../spine-unity/ 2>/dev/null || true