aboutsummaryrefslogtreecommitdiff
path: root/contrib/verify-commits
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2016-03-18 06:04:08 -0400
committerPeter Todd <pete@petertodd.org>2016-05-21 11:26:21 +0200
commit22421faa199b7922259b4b55e6471a1b5f91d0da (patch)
tree8ad9aaf04e2c274b50d2d47e95dd4e1deaa4869b /contrib/verify-commits
parent9523e8adafd24f1c9358c437b857f0f2f25eeb47 (diff)
Remove pointless warning
Any attacker who managed to make an evil commit that changed something in the contrib/verify-commits/ directory could just as easily remove the warning and/or modify it to not display the evil commits; telling the user to check those commits specifically misleads them into checking just those commits rather than the script itself.
Diffstat (limited to 'contrib/verify-commits')
-rwxr-xr-xcontrib/verify-commits/verify-commits.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/verify-commits/verify-commits.sh b/contrib/verify-commits/verify-commits.sh
index a859e67852..5219331e2e 100755
--- a/contrib/verify-commits/verify-commits.sh
+++ b/contrib/verify-commits/verify-commits.sh
@@ -5,9 +5,6 @@
DIR=$(dirname "$0")
[ "/${DIR#/}" != "$DIR" ] && DIR=$(dirname "$(pwd)/$0")
-echo "Please verify all commits in the following list are not evil:"
-git log "$DIR"
-
VERIFIED_ROOT=$(cat "${DIR}/trusted-git-root")
REVSIG_ALLOWED=$(cat "${DIR}/allow-revsig-commits")