2 # Copyright (c) 2014-2015 The Bitcoin Core developers
3 # Distributed under the MIT software license, see the accompanying
4 # file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 if ! [[ "$2" =~ ^
(git@
)?
(www.
)?github.com
(:|
/)bitcoin
/bitcoin
(.git
)?$
]]; then
12 if [ "$4" != "refs/heads/master" ]; then
15 if ! .
/contrib
/verify-commits
/verify-commits.sh
$3 > /dev
/null
2>&1; then
16 echo "ERROR: A commit is not signed, can't push"
17 .
/contrib
/verify-commits
/verify-commits.sh