TODO: post 1.5.5 snapshot
[git/spearce.git] / WI
blobc4f429e834bfc8d29622da0ab017f8b07a4d6cb5
1 #!/bin/sh
2 # Prepare "What's in git.git"
4 maint_at=$(git rev-parse --verify refs/heads/maint)
5 master_at=$(git rev-parse --verify refs/heads/master)
7 log () {
8 git shortlog -w76,2,4 --no-merges "$@"
11 echo "Subject: What's in git.git (stable)"
12 echo "X-maint-at: $maint_at"
13 echo "X-master-at: $master_at"
15 tagged=`git rev-parse --not --verify hold/sa/maint`
16 list=`git rev-list $tagged refs/heads/maint 2>/dev/null`
17 if test -n "$list"
18 then
19 echo
20 echo "* The 'maint' branch has these fixes since the last announcement."
21 echo
22 log $tagged heads/maint
25 tagged=`git rev-parse --not --verify hold/sa/master`
26 list=`git rev-list $tagged refs/heads/master 2>/dev/null`
27 if test -n "$list"
28 then
29 echo
30 echo "* The 'master' branch has these since the last announcement"
31 echo " in addition to the above."
32 echo
33 log $tagged heads/master ^heads/maint