TODO: ident/filter is in.
[git] / WC
1 #!/bin/sh
2 # Prepare "What's cooking in git.git"
3
4 master_at=$(git rev-parse --verify refs/heads/master)
5 next_at=$(git rev-parse --verify refs/heads/next)
6
7
8 cat <<EOF
9 From: Junio C Hamano <junkio@cox.net>
10 Subject: What's cooking in git.git (topics)
11 X-master-at: $master_at
12 X-next-at: $next_at
13 Content-Type: text/plain; charset=utf-8
14 Content-Transfer-Encoding: 8bit
15
16 Here are the topics that have been cooking.  Commits prefixed
17 with '-' are only in 'pu' while commits prefixed with '+' are
18 in 'next'.  The topics list the commits in reverse chronological
19 order.
20
21 EOF
22
23 Meta/git-topic.perl --base=master | sed -e 's/^\*./*/'