mirror of
https://github.com/git/git.git
synced 2026-01-12 13:53:11 +09:00
37 lines
880 B
Bash
Executable File
37 lines
880 B
Bash
Executable File
#!/bin/sh
|
|
# Prepare "What's in git.git"
|
|
|
|
maint_at=$(git rev-parse --verify refs/heads/maint)
|
|
master_at=$(git rev-parse --verify refs/heads/master)
|
|
|
|
log () {
|
|
git log --no-merges "$@" |
|
|
git shortlog |
|
|
perl -pe 'if (!/^ / && !/^$/) { s/^/ / }'
|
|
}
|
|
|
|
echo "To: git@vger.kernel.org"
|
|
echo "Subject: What's in git.git (stable)"
|
|
echo "X-maint-at: $maint_at"
|
|
echo "X-master-at: $master_at"
|
|
|
|
tagged=`git rev-parse --not --verify tags/sa/maint`
|
|
list=`git-rev-list $tagged refs/heads/maint 2>/dev/null`
|
|
if test -n "$list"
|
|
then
|
|
echo
|
|
echo "* The 'maint' branch has these fixes since the last announcement."
|
|
echo
|
|
log $tagged heads/maint
|
|
fi
|
|
|
|
tagged=`git rev-parse --not --verify tags/sa/master`
|
|
list=`git-rev-list $tagged refs/heads/master 2>/dev/null`
|
|
if test -n "$list"
|
|
then
|
|
echo
|
|
echo "* The 'master' branch has these since the last announcement."
|
|
echo
|
|
log $tagged heads/master
|
|
fi
|