Add whitespace check to prepare-commit.sh

This commit is contained in:
Matthias Kuhn 2017-04-01 11:05:58 +02:00
parent 5148b7accb
commit 25f137053d

View File

@ -142,6 +142,8 @@ else
rm $SIPIFYDIFF
fi
# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached HEAD --
exit 0