summaryrefslogtreecommitdiffstats
path: root/bin/get-pick-list.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-pick-list.sh')
-rwxr-xr-xbin/get-pick-list.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/get-pick-list.sh b/bin/get-pick-list.sh
index d3ac511c144..d2b76e7e633 100755
--- a/bin/get-pick-list.sh
+++ b/bin/get-pick-list.sh
@@ -1,6 +1,12 @@
#!/bin/sh
# Script for generating a list of candidates for cherry-picking to a stable branch
+#
+# Usage examples:
+#
+# $ bin/get-pick-list.sh
+# $ bin/get-pick-list.sh > picklist
+# $ bin/get-pick-list.sh | tee picklist
# Grep for commits with "cherry picked from commit" in the commit message.
git log --reverse --grep="cherry picked from commit" origin/master..HEAD |\