Fix the previous commit

This commit is contained in:
Laurent Rineau
2017-09-15 17:12:48 +02:00
parent 7fb5d8dc05
commit 63d3c81038
@@ -3,6 +3,8 @@
zmodload zsh/stat
set -e
git=git
if ! ${git} diff --exit-code > /dev/null || ! ${git} diff --staged --exit-code > /dev/null ; then
echo 'Your working directory contains local modifications!' >&2
exit 1