From: Junio C Hamano Date: Sun, 19 Feb 2006 08:38:06 +0000 (-0800) Subject: Two more maintainer scripts. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0391212b73371b839c601079ef1393d6cd71868f;p=git.git Two more maintainer scripts. --- diff --git a/SA b/SA new file mode 100755 index 00000000..92dc6f49 --- /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 index 00000000..c68e02de --- /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