Skip to content

Commit e29784d

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents a5a5f5e + 33c19b2 commit e29784d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitstatus.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ while IFS='' read -r line || [[ -n "$line" ]]; do
4444
\ ) ;;
4545
*) ((num_staged++)) ;;
4646
esac
47-
status=${status:0:-1}
47+
status=${status:0:(${#status}-1)}
4848
done
4949
done <<< "$gitstatus"
5050

0 commit comments

Comments
 (0)