[skip ci] Update CONTRIBUTING.md to include correct pre-commit hook

This commit is contained in:
Patrick Niklaus 2017-08-11 10:05:45 +00:00
parent 75d6f59026
commit 3141eb5dce

View File

@ -18,7 +18,7 @@ if [ x"$remote" = xorigin ] ; then
echo "Rejected push to $remote/master" ; exit 1
fi
./scripts/format.sh
./scripts/format.sh && ./scripts/error_on_dirty.sh
if [ $? -ne 0 ] ; then
echo "Unstaged format changes" ; exit 1
fi