[kernel] r21989 - people/benh

Ben Hutchings benh at moszumanska.debian.org
Fri Oct 31 01:40:01 UTC 2014


Author: benh
Date: Fri Oct 31 01:40:01 2014
New Revision: 21989

Log:
git-check-in-stable: Show short hash for each match

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

Modified: people/benh/git-check-in-stable
==============================================================================
--- people/benh/git-check-in-stable	Fri Oct 31 01:31:16 2014	(r21988)
+++ people/benh/git-check-in-stable	Fri Oct 31 01:40:01 2014	(r21989)
@@ -18,6 +18,6 @@
     fi
     for hash in $(git rev-list --grep="$needle" v$version..$commit); do
 	tag="$(git describe --contains --match="v$version.*" $hash | sed 's/~.*//')"
-	git log --format="$tag: %s" $hash -1
+	git log --format="$tag: ${hash:0:12} %s" $hash -1
     done
 done



More information about the Kernel-svn-changes mailing list