X-Git-Url: https://git.madduck.net/code/fbi-announce.git/blobdiff_plain/c853b83790da6402b7a6f4b954b9503c23dfef7e..6d3d31d7c6c7935b900267ef45514987aff6e6ef:/fbi-announce.sh diff --git a/fbi-announce.sh b/fbi-announce.sh index b845bd8..577dead 100755 --- a/fbi-announce.sh +++ b/fbi-announce.sh @@ -71,7 +71,7 @@ url=$(echo "$url" | sed -e "s,@@sha1@@,${merged},") rawcommit=$(git cat-file commit ${merged}) author=$(echo "${rawcommit}" | sed -rne 's,^author (.+) <.*,\1,p') -logmessage=$(echo "${rawcommit}" | sed -e '1,/^$/d;s,&,\&,g;s,<,\<,g;s,>,\>,g') +logmessage=$(echo "${rawcommit}" | sed -e '1,/^$/d') ${noisy} || logmessage=$(echo "${logmessage}" | head -n2) ts=$(echo "${rawcommit}" | sed -n -e '/^author .*> \([0-9]\+\).*$/s--\1-p') @@ -91,6 +91,7 @@ ${from:+From: ${from} ${cc:+Cc: ${cc} }Subject: Announce ${project} Message-Id: +Content-type: text/plain; charset=utf-8 ${msg} _eom