Install master and next at different places.
[git.git] / WI
1 #!/bin/sh
2 # Prepare "What's in git.git"
3
4 master_at=$(git rev-parse --verify refs/heads/master)
5
6 echo "To: git@vger.kernel.org"
7 echo "Subject: What's in git.git"
8 echo "X-master-at: $master_at"
9
10 tagged=`git rev-parse --not --verify tags/sa/master`
11 list=`git-rev-list $tagged refs/heads/master 2>/dev/null`
12 if test -n "$list"
13 then
14         echo
15         echo "* The 'master' branch has these since the last announcement."
16         echo
17         git log $tagged heads/master | git shortlog
18 fi
19
20 list=`git-rev-list refs/heads/master..refs/heads/next 2>/dev/null`
21 if test -n "$list"
22 then
23         echo
24         echo
25         echo "* The 'next' branch, in addition, has these."
26         echo
27         git log --no-merges refs/heads/master..refs/heads/next | git shortlog
28 fi
29
30 list=`git-rev-list ^refs/heads/master ^refs/heads/next refs/heads/pu 2>/dev/null`
31 if test -n "$list"
32 then
33         echo
34         echo
35         echo "* The 'pu' branch, in addition, has these."
36         echo
37         git log --no-merges ^refs/heads/master ^refs/heads/next refs/heads/pu | git shortlog
38 fi