From 5cdb9a3bb29837a1daf02bc912eb2ec233bc6cf3 Mon Sep 17 00:00:00 2001 From: Michal Koutný Date: Sep 21 2022 14:21:54 +0000 Subject: scripts/CKC: Make checker more specific --- 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