mirror of
https://github.com/git/git.git
synced 2026-03-06 23:37:41 +01:00
36 lines
818 B
Bash
Executable File
36 lines
818 B
Bash
Executable File
#!/bin/sh
|
|
# Prepare "What's in git.git"
|
|
|
|
echo "To: git@vger.kernel.org"
|
|
echo "Subject: What's in git.git"
|
|
|
|
tagged=`git rev-parse --not --verify tags/sa/master`
|
|
list=`git-rev-list $tagged heads/master 2>/dev/null`
|
|
if test -n "$list"
|
|
then
|
|
echo
|
|
echo "* The 'master' branch has these since the last announcement."
|
|
echo
|
|
git log $tagged heads/master | git shortlog
|
|
fi
|
|
|
|
list=`git-rev-list heads/master..heads/next 2>/dev/null`
|
|
if test -n "$list"
|
|
then
|
|
echo
|
|
echo
|
|
echo "* The 'next' branch, in addition, has these."
|
|
echo
|
|
git log --no-merges heads/master..heads/next | git shortlog
|
|
fi
|
|
|
|
list=`git-rev-list ^heads/master ^heads/next heads/pu 2>/dev/null`
|
|
if test -n "$list"
|
|
then
|
|
echo
|
|
echo
|
|
echo "* The 'pu' branch, in addition, has these."
|
|
echo
|
|
git log --no-merges ^heads/master ^heads/next heads/pu | git shortlog
|
|
fi
|