3 # Script for generating a list of candidates which have typos in the nomination line
7 # $ bin/get-typod-pick-list.sh
8 # $ bin/get-typod-pick-list.sh > picklist
9 # $ bin/get-typod-pick-list.sh | tee picklist
12 # This script intentionally _never_ checks for specific version tag
13 # Should we consider folding it with the original get-pick-list.sh
15 # Use the last branchpoint as our limit for the search
16 latest_branchpoint
=`git merge-base origin/master HEAD`
18 # Grep for commits with "cherry picked from commit" in the commit message.
19 git log
--reverse --grep="cherry picked from commit" $latest_branchpoint..HEAD |\
20 grep "cherry picked from commit" |\
21 sed -e 's/^[[:space:]]*(cherry picked from commit[[:space:]]*//' -e 's/)//' > already_picked
23 # Grep for commits that were marked as a candidate for the stable tree.
24 git log
--reverse --pretty=%H
-i --grep='^CC:.*mesa-dev' $latest_branchpoint..origin
/master |\
27 # Check to see whether the patch is on the ignore list.
28 if [ -f bin
/.cherry-ignore
] ; then
29 if grep -q ^
$sha bin
/.cherry-ignore
; then
34 # Check to see if it has already been picked over.
35 if grep -q ^
$sha already_picked
; then
39 git log
-n1 --pretty=oneline
$sha |
cat