[kernel-team] 33/47: Show which stable update each commit went into, not just which branch it was on
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 14661eb793eebcd8f89667b33f936e2cca0026af
Author: Ben Hutchings <benh at debian.org>
Date: Fri Oct 4 03:13:12 2013 +0000
Show which stable update each commit went into, not just which branch it was on
svn path=/people/benh/; revision=20694
---
scripts/benh/git-check-in-stable | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/benh/git-check-in-stable b/scripts/benh/git-check-in-stable
index e636ee4..be4614d 100755
--- a/scripts/benh/git-check-in-stable
+++ b/scripts/benh/git-check-in-stable
@@ -16,5 +16,8 @@ while read commit dummy ref; do
if [ "$version" = 2.6.11 ]; then
continue # 2.6.11 is pre-history
fi
- git log --grep="$needle" --format="$version: %h %s" v$version..$commit
+ 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
+ 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