- if [[ $(echo ${gitstat} | grep -c "^\# Changed but not updated:$") > 0 || \
- $(echo ${gitstat} | grep -c "^\# Changes not staged for commit:$") > 0 ]]; then
+ if [[ $(echo ${gitstat} | grep -c "^Changed but not updated:$") > 0 || \
+ $(echo ${gitstat} | grep -c "^Changes not staged for commit:$") > 0 ]]; then