git/WI

55 lines
1.2 KiB
Plaintext
Raw Normal View History

2006-02-19 08:38:06 +00:00
#!/bin/sh
# Prepare "What's in git.git"
maint_at=$(git rev-parse --verify refs/heads/maint)
2006-04-14 20:54:38 +00:00
master_at=$(git rev-parse --verify refs/heads/master)
log () {
git log --no-merges "$@" |
git shortlog |
perl -pe 'if (!/^ / && !/^$/) { s/^/ / }'
}
2006-03-02 02:42:03 +00:00
echo "To: git@vger.kernel.org"
echo "Subject: What's in git.git"
echo "X-maint-at: $maint_at"
2006-04-14 20:54:38 +00:00
echo "X-master-at: $master_at"
2006-02-19 08:54:54 +00:00
tagged=`git rev-parse --not --verify tags/sa/maint`
list=`git-rev-list $tagged refs/heads/maint 2>/dev/null`
if test -n "$list"
then
echo
echo "* The 'maint' branch has these fixes since the last announcement."
echo
log $tagged heads/maint
fi
2006-03-02 02:42:03 +00:00
tagged=`git rev-parse --not --verify tags/sa/master`
2006-04-14 20:54:38 +00:00
list=`git-rev-list $tagged refs/heads/master 2>/dev/null`
2006-03-02 02:42:03 +00:00
if test -n "$list"
then
echo
echo "* The 'master' branch has these since the last announcement."
echo
log $tagged heads/master
2006-03-02 02:42:03 +00:00
fi
2006-02-19 08:38:06 +00:00
2006-04-14 20:54:38 +00:00
list=`git-rev-list refs/heads/master..refs/heads/next 2>/dev/null`
2006-03-02 02:42:03 +00:00
if test -n "$list"
then
2006-02-19 08:38:06 +00:00
echo
2006-03-02 02:42:03 +00:00
echo "* The 'next' branch, in addition, has these."
2006-02-19 08:38:06 +00:00
echo
2006-06-26 23:42:38 +00:00
log heads/master..heads/next
2006-03-02 02:42:03 +00:00
fi
2006-02-19 08:38:06 +00:00
2006-04-14 20:54:38 +00:00
list=`git-rev-list ^refs/heads/master ^refs/heads/next refs/heads/pu 2>/dev/null`
2006-03-02 02:42:03 +00:00
if test -n "$list"
then
echo
echo "* The 'pu' branch, in addition, has these."
echo
log ^heads/master heads/next..heads/pu
2006-03-02 02:42:03 +00:00
fi