瀏覽代碼

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.
pull/118/head
Peter Todd 5 年之前
父節點
當前提交
c2d1d6225e
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0
    3
      contrib/verify-commits/verify-commits.sh

+ 0
- 3
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")


Loading…
取消
儲存