WC: mention offcuts
[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 Subject: What's cooking in git.git (topics)
10 X-master-at: $master_at
11 X-next-at: $next_at
12
13 Here are the topics that have been cooking.  Commits prefixed
14 with '-' are only in 'pu' while commits prefixed with '+' are
15 in 'next'.  Others commits may be stashed in 'offcuts'.
16
17 The topics list the commits in reverse chronological order.
18
19 EOF
20
21 Meta/git-topic.perl --base=master | sed -e 's/^\*./\n*/'