Meta/Make: do not depend on installed git
[git/spearce.git] / WC
blobcd2fc89be8c96287a96a47112e783d50e6351547
1 #!/bin/sh
2 # Prepare "What's cooking in git.git"
4 master_at=$(git rev-parse --verify refs/heads/master)
5 next_at=$(git rev-parse --verify refs/heads/next)
8 cat <<EOF
9 Subject: What's cooking in git.git (topics)
10 X-master-at: $master_at
11 X-next-at: $next_at
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'.
17 The topics list the commits in reverse chronological order.
19 EOF
21 Meta/git-topic.perl --base=master | sed -e 's/^\*./\n*/'