X-Git-Url: https://git.madduck.net/code/fbi-announce.git/blobdiff_plain/c853b83790da6402b7a6f4b954b9503c23dfef7e..bcc4f182d926015692c586fd15567540d933938f:/fbi-announce.sh diff --git a/fbi-announce.sh b/fbi-announce.sh index b845bd8..810d8f6 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')