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)
8 git log --no-merges "$@" |
10 perl -pe 'if (!/^ / && !/^$/) { s/^/ / }'
13 echo "To: git@vger.kernel.org"
14 echo "Subject: What's in git.git"
15 echo "X-maint-at: $maint_at"
16 echo "X-master-at: $master_at"
18 tagged=`git rev-parse --not --verify tags/sa/maint`
19 list=`git-rev-list $tagged refs/heads/maint 2>/dev/null`
23 echo "* The 'maint' branch has these fixes since the last announcement."
25 log $tagged heads/maint
28 tagged=`git rev-parse --not --verify tags/sa/master`
29 list=`git-rev-list $tagged refs/heads/master 2>/dev/null`
33 echo "* The 'master' branch has these since the last announcement."
35 log $tagged heads/master
38 list=`git-rev-list refs/heads/master..refs/heads/next 2>/dev/null`
42 echo "* The 'next' branch, in addition, has these."
44 log heads/master..heads/next ^heads/cleannext
47 list=`git-rev-list ^refs/heads/master ^refs/heads/next refs/heads/pu 2>/dev/null`
51 echo "* The 'pu' branch, in addition, has these."
53 log ^heads/master heads/next..heads/pu