From 1e973a069b07f8c045401a7d3d20ea760a27422f Mon Sep 17 00:00:00 2001 From: Thorsten Leemhuis Date: Mon, 22 Apr 2024 17:31:01 +0200 Subject: [PATCH] scripts/fixes_search: honor noautosel tag Ignore commits that contain a soon to be documented tag that is meant to exclude commits from processing by scripts like scripts/fixes_search. Link: https://lore.kernel.org/all/2024041830-karaoke-aspirate-df00@gregkh/ [1] Signed-off-by: Thorsten Leemhuis --- scripts/fixes_search | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/fixes_search b/scripts/fixes_search index aaa12ec..950509f 100755 --- a/scripts/fixes_search +++ b/scripts/fixes_search @@ -131,6 +131,13 @@ for commit in $(git rev-list --reverse --no-merges "${git_range}"); do # logn "commit = ${txtgrn}${commit}${txtrst} " logn "${txtgrn}${commit}${txtrst} " + # Check if we are supposed to ignore the commit + no_autosel=$(git log -1 --format='%B' "HEAD" | grep -i '^[[:space:]]*[Cc][Cc]:[[:space:]]*