Handle crap at the end of commit subjects

This commit is contained in:
Jakob Borg 2015-03-07 22:50:54 +01:00
parent 044b7ce070
commit aeb3a3f7b5

View File

@ -5,5 +5,5 @@ if [[ -z $since ]] ; then
since="$(git describe --abbrev=0 HEAD^).." since="$(git describe --abbrev=0 HEAD^).."
fi fi
git log --reverse --pretty=format:'* %s, @%aN)' "$since" | egrep 'fixes #\d|ref #\d' | sed 's/),/,/' | sed 's/fixes #/#/g' | sed 's/ref #/#/g' git log --reverse --pretty=format:'* %s, @%aN)' "$since" | egrep 'fixes #\d|ref #\d' | sed 's/)[,. ]*,/,/' | sed 's/fixes #/#/g' | sed 's/ref #/#/g'