Two more maintainer scripts.
authorJunio C Hamano <junkio@cox.net>
Sun, 19 Feb 2006 08:38:06 +0000 (00:38 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 19 Feb 2006 08:38:06 +0000 (00:38 -0800)
SA [new file with mode: 0755]
WI [new file with mode: 0755]

diff --git a/SA b/SA
new file mode 100755 (executable)
index 0000000..92dc6f4
--- /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
diff --git a/WI b/WI
new file mode 100755 (executable)
index 0000000..c68e02d
--- /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