X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=devel%2Frelease-checks.sh;h=efd0b3441f2e9aecd7398cf941c1156eec77ff0d;hp=ae02f557af23bda8488035367d2ae8eae5f95bb6;hb=a5a21bbe78725db70153b6bf59c1856de2dcae4d;hpb=783a559968968a407cbaa42249613216c27d54f8 diff --git a/devel/release-checks.sh b/devel/release-checks.sh index ae02f557..efd0b344 100755 --- a/devel/release-checks.sh +++ b/devel/release-checks.sh @@ -59,6 +59,17 @@ readonly VERSION # In the rest of this file, tests collect list of errors to be fixed +echo -n "Checking that git working directory is clean... " +git_status=`git status --porcelain` +if [ "$git_status" = '' ] +then + echo Yes. +else + echo No. + append_emsg "Git working directory is not clean (git status --porcelain)." +fi +unset git_status + verfail () { echo No.