[kernel] r19464 - people/benh

Ben Hutchings benh at alioth.debian.org
Mon Oct 29 03:35:17 UTC 2012


Author: benh
Date: Mon Oct 29 03:35:17 2012
New Revision: 19464

Log:
git-check-in-stable: show short hash and subject for each match

Modified:
   people/benh/git-check-in-stable

Modified: people/benh/git-check-in-stable
==============================================================================
--- people/benh/git-check-in-stable	Mon Oct 29 03:33:44 2012	(r19463)
+++ people/benh/git-check-in-stable	Mon Oct 29 03:35:17 2012	(r19464)
@@ -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 @@
     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



More information about the Kernel-svn-changes mailing list