Lines Matching +full:commit +full:- +full:message +full:- +full:check
4 # previously cherry-picked to a stable branch.
8 # $ bin/get-extra-pick-list.sh
9 # $ bin/get-extra-pick-list.sh > picklist
10 # $ bin/get-extra-pick-list.sh | tee picklist
13 latest_branchpoint=`git merge-base origin/master HEAD`
15 # Grep for commits with "cherry picked from commit" in the commit message.
16 git log --reverse --grep="cherry picked from commit" $latest_branchpoint..HEAD |\
17 grep "cherry picked from commit" |\
18 sed -e 's/^[[:space:]]*(cherry picked from commit[[:space:]]*//' -e 's/)//' > already_picked
20 # For each cherry-picked commit...
21 cat already_picked | cut -c -8 |\
24 # ... check if it's referenced (fixed by another) patch
25 git log -n1 --pretty=oneline --grep=$sha $latest_branchpoint..origin/master |\
26 cut -c -8 |\
30 if grep -q ^$candidate already_picked ; then
34 if [ -f bin/.cherry-ignore ] ; then
35 if grep -q ^$candidate bin/.cherry-ignore ; then
39 printf "Commit \"%s\" references %s\n" \
40 "`git log -n1 --pretty=oneline $candidate`" \
45 rm -f already_picked