3 git
diff --no-patch --exit-code HEAD
5 if [ ! $?
-eq 0 ]; then
7 echo "***********************************************************************" 1>&2
8 echo " There are uncommitted changes which will not be part of the tarball " 1>&2
9 echo "***********************************************************************" 1>&2
12 if [ "$SKIP_COMMIT_TEST" = "1" ]; then
13 echo "(Failed commit test skipped due to SKIP_COMMIT_TEST=1 being set.)" 1>&2
16 echo "(This test can be skipped when SKIP_COMMIT_TEST=1 is set.)" 1>&2