Merge pull request #228 from ogr3/num-conflicts

check num_conflicts against 0
master
Martin Gondermann 10 years ago
commit 485d12adb3
  1. 2
      gitstatus.sh

@ -46,7 +46,7 @@ if [[ "$__GIT_PROMPT_IGNORE_STASH" != "1" ]]; then
fi
clean=0
if (( num_changed == 0 && num_staged == 0 && num_untracked == 0 && num_stashed == 0 && num_conflicts )) ; then
if (( num_changed == 0 && num_staged == 0 && num_untracked == 0 && num_stashed == 0 && num_conflicts == 0)) ; then
clean=1
fi

Loading…
Cancel
Save