From 777b060428adb222053747179d1bbeeee4e543a6 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 29 Dec 2025 00:25:44 -0600 Subject: [PATCH] Add renormalization support in syncback scripts. Updated both PowerShell and shell scripts to include 'git add --renormalize .' when the clean flag is active, ensuring proper handling of line endings. --- syncback.ps1 | 1 + syncback.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/syncback.ps1 b/syncback.ps1 index 7275766c..40190c86 100644 --- a/syncback.ps1 +++ b/syncback.ps1 @@ -59,4 +59,5 @@ if ($FilteredArgs.Count -eq 0) { if ($DoClean) { Write-Host "Running git add..." git add . + git add --renormalize . } diff --git a/syncback.sh b/syncback.sh index 86ea6e1f..2c1aeb95 100644 --- a/syncback.sh +++ b/syncback.sh @@ -55,4 +55,5 @@ fi if [ "$DoClean" = true ]; then echo "Running git add..." git add . + git add --renormalize . fi