From cfcd3892f7d40ac5e6617e40c098645ccf712908 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Wed, 14 Jan 2015 00:27:05 +0100 Subject: [PATCH] More concise changelog --- changelog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.sh b/changelog.sh index 24419fbc2..00eaa1bc9 100755 --- a/changelog.sh +++ b/changelog.sh @@ -5,5 +5,5 @@ if [[ -z $since ]] ; then since="$(git describe --abbrev=0 HEAD^).." fi -git log --reverse --pretty=format:'* %s \n (%h, @%aN)' "$since" | egrep 'fixes #\d|ref #\d' | sed s/\\\\n/\\$'\n'/ +git log --reverse --pretty=format:'* %s, @%aN)' "$since" | egrep 'fixes #\d|ref #\d' | sed 's/),/,/' | sed 's/fixes #/#/g' | sed 's/ref #/#/g'