summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-11-29 11:10:48 +0200
committerrl1987 <rl1987@sdf.lonestar.org>2018-11-29 11:10:48 +0200
commit9c90bddc42467396909812746d5b4256adcb5d2d (patch)
tree4b1a1ee0f303269a98afe28d982f8f2486388003 /scripts
parent7c6dc2888144e587bc8d62c7b2bddae4fb6606b9 (diff)
downloadtor-9c90bddc42467396909812746d5b4256adcb5d2d.tar.gz
tor-9c90bddc42467396909812746d5b4256adcb5d2d.zip
Mention --no-verify in error message
Diffstat (limited to 'scripts')
-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