check-py3: Display git status --porcelain output.

This commit is contained in:
Tim Abbott 2016-05-12 16:30:58 -07:00
parent aa7ff158b6
commit 12b32d3889
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ echo; echo "Testing for additions of Python 2 patterns we've removed as part of
if [ -n "$(git status --porcelain)" ]; then if [ -n "$(git status --porcelain)" ]; then
echo "The repository is not clean. check-py3 can only be run if the repository is clean." echo "The repository is not clean. check-py3 can only be run if the repository is clean."
echo "Displaying output from 'git status --porcelain' to help debug"
git status --porcelain
exit 1 exit 1
fi fi