Minor TODO updates
[git] / WI
1 #!/bin/sh
2 # Prepare "What's in git.git"
3
4 maint_at=$(git rev-parse --verify refs/heads/maint)
5 master_at=$(git rev-parse --verify refs/heads/master)
6
7 log () {
8         git shortlog -w70,2,6 --no-merges "$@"
9 }
10
11 echo "From: Junio C Hamano <junkio@cox.net>"
12 echo "Subject: What's in git.git (stable)"
13 echo "X-maint-at: $maint_at"
14 echo "X-master-at: $master_at"
15 echo "Content-Type: text/plain; charset=utf-8"
16 echo "Content-Transfer-Encoding: 8bit"
17
18 tagged=`git rev-parse --not --verify hold/sa/maint`
19 list=`git-rev-list $tagged refs/heads/maint 2>/dev/null`
20 if test -n "$list"
21 then
22         echo
23         echo "* The 'maint' branch has these fixes since the last announcement."
24         echo
25         log $tagged heads/maint
26 fi
27
28 tagged=`git rev-parse --not --verify hold/sa/master`
29 list=`git-rev-list $tagged refs/heads/master 2>/dev/null`
30 if test -n "$list"
31 then
32         echo
33         echo "* The 'master' branch has these since the last announcement"
34         echo "  in addition to the above."
35         echo
36         log $tagged heads/master ^heads/maint
37 fi