diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-10-04 09:09:36 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-10-04 09:09:38 +0200 |
commit | 2f7a53cc9d68d6a3983d18b430e6a50706041935 (patch) | |
tree | 9d49fa300b14fdb857f5d7160536c6df5b2d8b2a /test | |
parent | 06314fbb5521bf9666e1523f09bfbf78aa976b1b (diff) | |
parent | 3491bf358a81d41a386cd14581d15396354a6e6c (diff) | |
download | bitcoin-2f7a53cc9d68d6a3983d18b430e6a50706041935.tar.xz |
Merge #20069: test: Mention commit id in scripted diff error
3491bf358a81d41a386cd14581d15396354a6e6c test: Mention commit id in scripted diff error (Wladimir J. van der Laan)
Pull request description:
Add commit id to make spotting the issue easier.
ACKs for top commit:
robot-dreams:
ACK 3491bf358a81d41a386cd14581d15396354a6e6c
sipa:
utACK 3491bf358a81d41a386cd14581d15396354a6e6c
hebasto:
~ACK~ Concept ACK 3491bf358a81d41a386cd14581d15396354a6e6c, should help in situations like https://travis-ci.org/github/bitcoin/bitcoin/jobs/732481553
Tree-SHA512: 1ae66fa760f9e5d52e029bae71f6b5863f1efd7b95de3723ea09290944c9d7687f5ec6927aa115a3aebd6f2b993baa0c2433975c6ad5cd2858089013362eb599
Diffstat (limited to 'test')
-rwxr-xr-x | test/lint/commit-script-check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/commit-script-check.sh b/test/lint/commit-script-check.sh index ff3f784437..827c978bed 100755 --- a/test/lint/commit-script-check.sh +++ b/test/lint/commit-script-check.sh @@ -37,7 +37,7 @@ for commit in $(git rev-list --reverse $1); do git reset --quiet --hard HEAD else if git rev-list "--format=%b" -n1 $commit | grep -q '^-\(BEGIN\|END\)[ a-zA-Z]*-$'; then - echo "Error: script block marker but no scripted-diff in title" + echo "Error: script block marker but no scripted-diff in title of commit $commit" echo "Failed" RET=1 fi |