summaryrefslogtreecommitdiff
path: root/scripts/maint/pre-push.git-hook
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maint/pre-push.git-hook')
-rwxr-xr-xscripts/maint/pre-push.git-hook2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/maint/pre-push.git-hook b/scripts/maint/pre-push.git-hook
index 11f062b539..26296023fb 100755
--- 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