diff --git a/scripts/check-kernel-commit b/scripts/check-kernel-commit index 4cf4dde..47ec7e7 100755 --- a/scripts/check-kernel-commit +++ b/scripts/check-kernel-commit @@ -56,7 +56,7 @@ check_branch() missing="" for hash in $KBC_CHECK_HASHES ; do - git grep "$hash" "remotes/origin/$branch" >/dev/null 2>&1 + git grep "^Git-commit: *$hash" "remotes/origin/$branch" >/dev/null 2>&1 if [ $? -eq 0 ] ; then found="$found $hash" else