Merge #9656: Check verify-commits on pushes to master

ba94426 Test that pushes to bitcoin/bitcoin are signed per verify-commits (Matt Corallo)
3e900ac Require merge commits merge branches on top of other merge commits (Matt Corallo)
This commit is contained in:
Wladimir J. van der Laan
2017-02-02 13:04:35 +01:00
2 changed files with 5 additions and 1 deletions

View File

@ -28,9 +28,10 @@ IS_SIGNED () {
local PARENTS
PARENTS=$(git show -s --format=format:%P $1)
for PARENT in $PARENTS; do
if IS_SIGNED $PARENT > /dev/null; then
if IS_SIGNED $PARENT; then
return 0;
fi
break
done
if ! "$HAVE_FAILED"; then
echo "No parent of $1 was signed with a trusted key!" > /dev/stderr