Mention --no-verify in error message

This commit is contained in:
rl1987 2018-11-29 11:10:48 +02:00
parent 7c6dc28881
commit 9c90bddc42

View File

@ -42,6 +42,7 @@ do
if [ -n "$commit" ] if [ -n "$commit" ]
then then
echo >&2 "Found fixup! commit in $local_ref, not pushing" echo >&2 "Found fixup! commit in $local_ref, not pushing"
echo >&2 "If you really want to push this, use --no-verify."
exit 1 exit 1
fi fi
@ -50,6 +51,7 @@ do
if [ -n "$commit" ] if [ -n "$commit" ]
then then
echo >&2 "Found squash! commit in $local_ref, not pushing" echo >&2 "Found squash! commit in $local_ref, not pushing"
echo >&2 "If you really want to push this, use --no-verify."
exit 1 exit 1
fi fi
fi fi