Skip to content

Commit 2f7a53c

Browse files
author
MarcoFalke
committed
Merge #20069: test: Mention commit id in scripted diff error
3491bf3 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 3491bf3 sipa: utACK 3491bf3 hebasto: ~ACK~ Concept ACK 3491bf3, should help in situations like https://travis-ci.org/github/bitcoin/bitcoin/jobs/732481553 Tree-SHA512: 1ae66fa760f9e5d52e029bae71f6b5863f1efd7b95de3723ea09290944c9d7687f5ec6927aa115a3aebd6f2b993baa0c2433975c6ad5cd2858089013362eb599
2 parents 06314fb + 3491bf3 commit 2f7a53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lint/commit-script-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ for commit in $(git rev-list --reverse $1); do
3737
git reset --quiet --hard HEAD
3838
else
3939
if git rev-list "--format=%b" -n1 $commit | grep -q '^-\(BEGIN\|END\)[ a-zA-Z]*-$'; then
40-
echo "Error: script block marker but no scripted-diff in title"
40+
echo "Error: script block marker but no scripted-diff in title of commit $commit"
4141
echo "Failed"
4242
RET=1
4343
fi

0 commit comments

Comments
 (0)