Skip to content

Commit 0391212

Browse files
author
Junio C Hamano
committed
Two more maintainer scripts.
1 parent ba296ff commit 0391212

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

SA

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)