Browse Source

Mention --no-verify in error message

rl1987 5 years ago
parent
commit
9c90bddc42
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/maint/pre-push.git-hook

+ 2 - 0
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