Merge remote-tracking branch 'ogr3/dots-fix' into simple-dots-fix

* ogr3/dots-fix:
  Possible to have dots in branch name
master
Dan Nguyen 10 years ago
commit fc6d4d87e7
  1. 2
      gitstatus.sh

@ -69,7 +69,7 @@ else
if [[ "${#branch_fields[@]}" -eq 1 ]]; then
remote="_NO_REMOTE_TRACKING_"
else
IFS="[,]" read -ra remote_line <<< "${branch_fields[1]}"
IFS="[,]" read -ra remote_line <<< "${line[3]}"
for rline in "${remote_line[@]}"; do
if [[ "$rline" == *ahead* ]]; then
num_ahead=${rline:6}

Loading…
Cancel
Save