Преглед на файлове

Mention --no-verify in error message

rl1987 преди 5 години
родител
ревизия
9c90bddc42
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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