[kernel-team] 22/47: git-check-in-stable: show short hash and subject for each match

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:30:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository kernel-team.

commit 773b3226f922a79a14ab286b7d977b485e9fdf13
Author: Ben Hutchings <benh at debian.org>
Date:   Mon Oct 29 03:35:17 2012 +0000

    git-check-in-stable: show short hash and subject for each match
    
    svn path=/people/benh/; revision=19464
---
 scripts/benh/git-check-in-stable | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/benh/git-check-in-stable b/scripts/benh/git-check-in-stable
index 98e27e1..30a47cc 100644
--- a/scripts/benh/git-check-in-stable
+++ b/scripts/benh/git-check-in-stable
@@ -5,6 +5,8 @@
 
 set -eu
 
+PAGER=cat
+
 needle="$1"
 git for-each-ref 'refs/remotes/stable/linux-*' |
 while read commit dummy ref; do
@@ -13,7 +15,5 @@ while read commit dummy ref; do
     if [ "$version" = 2.6.11 ]; then
 	continue # 2.6.11 is pre-history
     fi
-    if git rev-list --grep="$needle" v$version..$commit | grep -q .; then
-	echo $version
-    fi
+    git log --grep="$needle" --format="$version: %h %s" v$version..$commit
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git



More information about the Kernel-svn-changes mailing list