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.

This commit is contained in:
Joe 2025-12-29 00:25:44 -06:00
parent f6dc37e400
commit 777b060428
2 changed files with 2 additions and 0 deletions

View file

@ -59,4 +59,5 @@ if ($FilteredArgs.Count -eq 0) {
if ($DoClean) {
Write-Host "Running git add..."
git add .
git add --renormalize .
}

View file

@ -55,4 +55,5 @@ fi
if [ "$DoClean" = true ]; then
echo "Running git add..."
git add .
git add --renormalize .
fi