@matheusbsbs / matheus-bagliano / commits / 0391212b73
Fork 0

Two more maintainer scripts.

Junio C Hamano committed Feb 19, 2006 at 00:38 UTC 0391212b73371b839c601079ef1393d6cd71868f
2 files changed +26
SA new
+6
@@ -0,0 +1,6 @@
1 +#!/bin/sh
2 +# Take a snapshot of master and next *after* making an
3 +# "What's in git.git" announcement, for the next round.
4 +
5 +git tag -f sa/next refs/heads/next
6 +git tag -f sa/master refs/heads/master
WI new
+20
@@ -0,0 +1,20 @@
1 +#!/bin/sh
2 +# Prepare "What's in git.git"
3 +
4 +has_msg=' has these since the last announcement.'
5 +in_addition=
6 +for m in master next pu
7 +do
8 + tagged=`git rev-parse --not --verify tags/sa/$m 2>/dev/null`
9 + list=`git-rev-list $in_addition $tagged heads/$m 2>/dev/null` &&
10 + test -n "$list" || continue
11 +
12 + echo "* The '$m' branch$has_msg"
13 + echo
14 + git log $in_addition $tagged heads/$m |
15 + git shortlog
16 + echo
17 +
18 + in_addition="$in_addition ^heads/$m"
19 + has_msg=', in addition, has these.'
20 +done