Two more maintainer scripts.
[git.git] / WI
1 #!/bin/sh
2 # Prepare "What's in git.git"
3
4 has_msg=' has these since the last announcement.'
5 in_addition=
6 for m in master next pu
7 do
8         tagged=`git rev-parse --not --verify tags/sa/$m 2>/dev/null`
9         list=`git-rev-list $in_addition $tagged heads/$m 2>/dev/null` &&
10         test -n "$list" || continue
11
12         echo "* The '$m' branch$has_msg"
13         echo
14         git log $in_addition $tagged heads/$m |
15         git shortlog
16         echo
17
18         in_addition="$in_addition ^heads/$m"
19         has_msg=', in addition, has these.'
20 done