]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Mention --no-verify in error message
authorrl1987 <rl1987@sdf.lonestar.org>
Thu, 29 Nov 2018 09:10:48 +0000 (11:10 +0200)
committerrl1987 <rl1987@sdf.lonestar.org>
Thu, 29 Nov 2018 09:10:48 +0000 (11:10 +0200)
scripts/maint/pre-push.git-hook

index 11f062b53951f55808c86609933bfc38cfc3fe93..26296023fb3047647d6810293342ef8835d1b2f7 100755 (executable)
@@ -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