Skip to content

Commit 3491bf3

Browse files
committedOct 3, 2020
test: Mention commit id in scripted diff error
1 parent 171cd05 commit 3491bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/lint/commit-script-check.sh

+1-1
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)
Please sign in to comment.