Fix the previous commit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user