X-Git-Url: https://git.madduck.net/code/fbi-announce.git/blobdiff_plain/7c4edae57a5b24d39cf106a5f9ec66b8d2a6a7f7..d32a30a0800d96a7896a00fc204567443876e18f:/fbi-announce.sh?ds=inline diff --git a/fbi-announce.sh b/fbi-announce.sh index 76b3581..eb0329c 100755 --- a/fbi-announce.sh +++ b/fbi-announce.sh @@ -23,19 +23,7 @@ # [@@component@@/]@@project@@: @@author@@: \ # @@logmessage@@ [@@ref@@] @@url@@) # -# The hook is meant ot be run either from a post-commit hook or an update hook. If run in -# a central repository where people push to you want to run it in the update hook! -# -# post-commit: It parses latest commit and current HEAD to get the information it needs. -# -# update: You have to call it once per merged commit: -# -# refname=$1 -# oldhead=$2 -# newhead=$3 -# for merged in $(git rev-list ${oldhead}..${newhead} | tac) ; do -# /path/to/ciabot.bash ${refname} ${merged} -# done +# The hook is meant ot be run from the Git post-receive hook. # set -eu @@ -99,7 +87,7 @@ ${sendmail} <<_eom ${from:+From: ${from} }To: ${to} Subject: Announce ${project} -Message-Id: +Message-Id: ${msg} _eom