Parcourir la source

Mention --no-verify in error message

rl1987 il y a 5 ans
Parent
commit
9c90bddc42
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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