Show the commit hash and the title in a way that it is easier to copy
and paste in the bin/.cherry-ignore-extra file if we want to ignore
those commits for the future.
---
 bin/get-extra-pick-list.sh | 2 +-
 bin/get-fixes-pick-list.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/get-extra-pick-list.sh b/bin/get-extra-pick-list.sh
index 70ed36b..7ae56b2 100755
--- a/bin/get-extra-pick-list.sh
+++ b/bin/get-extra-pick-list.sh
@@ -44,7 +44,7 @@ do
                if grep -q ^$candidate already_picked ; then
                        continue
                fi
-               echo Commit $candidate references $sha
+               echo Commit \"`git log -n1 --pretty=oneline $candidate`\" 
references $sha
        done
 done
 
diff --git a/bin/get-fixes-pick-list.sh b/bin/get-fixes-pick-list.sh
index 1817300..89865cc 100755
--- a/bin/get-fixes-pick-list.sh
+++ b/bin/get-fixes-pick-list.sh
@@ -41,7 +41,7 @@ do
        # For each one try to extract the tag
        fixes_count=`git show $sha | grep -i "fixes:" | wc -l`
        if [ "x$fixes_count" != x1 ] ; then
-               echo WARNING: Commit $sha has more than one Fixes tag
+               echo WARNING: Commit \"`git log -n1 --pretty=oneline $sha`\" 
has more than one Fixes tag
        fi
        fixes=`git show $sha | grep -i "fixes:" | head -n 1`
        # The following sed/cut combination is borrowed from GregKH
@@ -66,7 +66,7 @@ do
                        continue
                fi
 
-               echo Commit $sha fixes $id
+               echo Commit \"`git log -n1 --pretty=oneline $sha`\" fixes $id
        fi
 
 done
-- 
2.9.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to