Explorar o código

Handle crap at the end of commit subjects

Jakob Borg %!s(int64=10) %!d(string=hai) anos
pai
achega
aeb3a3f7b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      changelog.sh

+ 1 - 1
changelog.sh

@@ -5,5 +5,5 @@ if [[ -z $since ]] ; then
 	since="$(git describe --abbrev=0 HEAD^).."
 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'