[kernel-team] 35/47: git-check-in-stable: Show short hash for each match
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Mon Dec 21 00:30:50 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 c04ad8091b2c1feb352c940abb1508e5800d88a2
Author: Ben Hutchings <benh at debian.org>
Date: Fri Oct 31 01:40:01 2014 +0000
git-check-in-stable: Show short hash for each match
svn path=/people/benh/; revision=21989
---
scripts/benh/git-check-in-stable | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/benh/git-check-in-stable b/scripts/benh/git-check-in-stable
index be4614d..a304960 100755
--- a/scripts/benh/git-check-in-stable
+++ b/scripts/benh/git-check-in-stable
@@ -18,6 +18,6 @@ while read commit dummy ref; do
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
--
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