#!/bin/bash | |
# Form a list of the parents we've cherry picked since $START. | |
# When auditing other stable releases, we can ignore things that | |
# are in the audit/chosen-parents.txt file (output of this script). | |
START=v2.6.34.7 | |
for i in `git rev-list ^$START HEAD|tac` ; do | |
PID=`git show $i |grep '^ *commit.*upstream' |awk '{print $2}'` | |
if [ -n "$PID" ]; then | |
echo $PID | |
fi | |
done |