Two more maintainer scripts.
Junio C Hamano committed
Feb 19, 2006 at 00:38 UTC
0391212b73371b839c601079ef1393d6cd71868f
2 files changed
+26
SA
+6
new file mode 100755
index 0000000000..92dc6f49f8
--- /dev/null
+++ b/SA
@@ -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
WI
+20
new file mode 100755
index 0000000000..c68e02de44
--- /dev/null
+++ b/WI
@@ -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