fix error
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user