commit 9c90bddc42467396909812746d5b4256adcb5d2d
parent 7c6dc2888144e587bc8d62c7b2bddae4fb6606b9
Author: rl1987 <rl1987@sdf.lonestar.org>
Date: Thu, 29 Nov 2018 11:10:48 +0200
Mention --no-verify in error message
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/scripts/maint/pre-push.git-hook b/scripts/maint/pre-push.git-hook
@@ -42,6 +42,7 @@ do
if [ -n "$commit" ]
then
echo >&2 "Found fixup! commit in $local_ref, not pushing"
+ echo >&2 "If you really want to push this, use --no-verify."
exit 1
fi
@@ -50,6 +51,7 @@ do
if [ -n "$commit" ]
then
echo >&2 "Found squash! commit in $local_ref, not pushing"
+ echo >&2 "If you really want to push this, use --no-verify."
exit 1
fi
fi