is_sha_nomination "$1" "fixes[[:space:]]\+"
}
+is_brokenby_nomination()
+{
+ is_sha_nomination "$1" "broken by"
+}
+
# Use the last branchpoint as our limit for the search
latest_branchpoint=`git merge-base origin/master HEAD`
sed -e 's/^[[:space:]]*(cherry picked from commit[[:space:]]*//' -e 's/)//' > already_picked
# Grep for potential candidates
-git log --reverse --pretty=%H -i --grep='^CC:.*mesa-stable\|^CC:.*mesa-dev\|\<fixes\>' $latest_branchpoint..origin/master |\
+git log --reverse --pretty=%H -i --grep='^CC:.*mesa-stable\|^CC:.*mesa-dev\|\<fixes\>\|\<broken by\>' $latest_branchpoint..origin/master |\
while read sha
do
# Check to see whether the patch is on the ignore list.
tag=typod
elif is_fixes_nomination "$sha"; then
tag=fixes
+ elif is_brokenby_nomination "$sha"; then
+ tag=brokenby
else
continue
fi