From b8e41db053a7cceba81650b4a94fff65c06ef86e Mon Sep 17 00:00:00 2001 From: Andreas Boll Date: Thu, 18 Apr 2013 09:32:39 +0200 Subject: [PATCH] mesa: add usage examples to get-pick-list and shortlog scripts NOTE: This is a candidate for the stable branches. --- bin/get-pick-list.sh | 6 ++++++ bin/shortlog_mesa.sh | 6 ++++++ 2 files changed, 12 insertions(+) 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 |\ diff --git a/bin/shortlog_mesa.sh b/bin/shortlog_mesa.sh index b20c52fdd45..2ba0815de74 100755 --- a/bin/shortlog_mesa.sh +++ b/bin/shortlog_mesa.sh @@ -2,6 +2,12 @@ # This script is used to generate the list of changes that # appears in the release notes files, with HTML formatting. +# +# Usage examples: +# +# $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 +# $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 > changes +# $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 | tee changes typeset -i in_log=0 -- 2.30.2