summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-04-20 18:59:45 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-04-20 18:59:45 -0400
commitb0646f9b5f1fb6a3f652b0f4d851e350792c24f2 (patch)
treedd89bcb4f02a16dcfcb73e25bad49c363892f78e
parentcc97c4e6e9a0dd500a54916b6499d14b94800cc5 (diff)
downloadlongterm-queue-2.6.34-b0646f9b5f1fb6a3f652b0f4d851e350792c24f2.tar.gz
add script to create chosen parents list
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rwxr-xr-xscripts/chosen-parents14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/chosen-parents b/scripts/chosen-parents
new file mode 100755
index 0000000..2942866
--- /dev/null
+++ b/scripts/chosen-parents
@@ -0,0 +1,14 @@
+#!/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