[tor-commits] [tor/master] Mention --no-verify in error message

nickm at torproject.org nickm at torproject.org
Sat Dec 1 16:28:56 UTC 2018


commit 9c90bddc42467396909812746d5b4256adcb5d2d
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Thu Nov 29 11:10:48 2018 +0200

    Mention --no-verify in error message
---
 scripts/maint/pre-push.git-hook | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/maint/pre-push.git-hook b/scripts/maint/pre-push.git-hook
index 11f062b53..26296023f 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





More information about the tor-commits mailing list