fix error
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 12s
Build-Test-Publish / build (linux/arm64) (push) Successful in 14s

This commit is contained in:
2025-09-30 14:55:09 +13:00
parent 74731173c4
commit 3725c72304

View File

@@ -263,8 +263,8 @@ print_summary() {
local temp_file="$1"
local total_dirty total_clean total_behind total_ahead total_diverged
total_dirty=$(grep -c "^D|" "$temp_file" 2>/dev/null || echo 0)
total_clean=$(grep -c "^C|" "$temp_file" 2>/dev/null || echo 0)
total_dirty=$(grep -c "^D|" "$temp_file" 2>/dev/null)
total_clean=$(grep -c "^C|" "$temp_file" 2>/dev/null)
# Count upstream statuses
total_behind=0