Browse Source

Two more maintainer scripts.

todo
Junio C Hamano 19 years ago
parent
commit
0391212b73
  1. 6
      SA
  2. 20
      WI

6
SA

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
#!/bin/sh
# Take a snapshot of master and next *after* making an
# "What's in git.git" announcement, for the next round.

git tag -f sa/next refs/heads/next
git tag -f sa/master refs/heads/master

20
WI

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
#!/bin/sh
# Prepare "What's in git.git"

has_msg=' has these since the last announcement.'
in_addition=
for m in master next pu
do
tagged=`git rev-parse --not --verify tags/sa/$m 2>/dev/null`
list=`git-rev-list $in_addition $tagged heads/$m 2>/dev/null` &&
test -n "$list" || continue

echo "* The '$m' branch$has_msg"
echo
git log $in_addition $tagged heads/$m |
git shortlog
echo

in_addition="$in_addition ^heads/$m"
has_msg=', in addition, has these.'
done
Loading…
Cancel
Save