Files
git/WC
2007-12-07 01:09:00 -08:00

22 lines
558 B
Bash
Executable File

#!/bin/sh
# Prepare "What's cooking in git.git"
master_at=$(git rev-parse --verify refs/heads/master)
next_at=$(git rev-parse --verify refs/heads/next)
cat <<EOF
Subject: What's cooking in git.git (topics)
X-master-at: $master_at
X-next-at: $next_at
Here are the topics that have been cooking. Commits prefixed
with '-' are only in 'pu' while commits prefixed with '+' are
in 'next'. Others commits may be stashed in 'offcuts'.
The topics list the commits in reverse chronological order.
EOF
Meta/git-topic.perl --base=master | sed -e 's/^\*./\n*/'