diff --git a/scripts/pgit.sh b/scripts/pgit.sh index 33c8b333..2d75b6b9 100644 --- a/scripts/pgit.sh +++ b/scripts/pgit.sh @@ -90,7 +90,7 @@ commit() if [ "$PGIT_KEEP_GOING" != y ]; then set -e; fi for d in $pdirs; do cur=`expr $cur + 1` - if run_git -C $d diff --quiet; then + if run_git -C $d diff-index --quiet HEAD --; then log "Nothing to commit" continue fi