diff --git a/scripts/check-kernel-commit b/scripts/check-kernel-commit index b2115ba..ef6ed96 100755 --- a/scripts/check-kernel-commit +++ b/scripts/check-kernel-commit @@ -80,7 +80,7 @@ check_branch() missing="" for term in $KBC_CHECK_TERMS ; do - git grep -i "$(term2regex $term)" "remotes/origin/$branch" >/dev/null 2>&1 + git grep -qi "$(term2regex $term)" "remotes/origin/$branch" -- 'patches.*' 2>/dev/null if [ $? -eq 0 ] ; then found="$found $term" else