]> git.street.me.uk Git - andy/viking.git/blob - maintainer/git2changelog.sh
Fix old po/Changelog entry
[andy/viking.git] / maintainer / git2changelog.sh
1 #:!bin/sh
2 #
3 # ChangeLog file generator
4 #
5 # This script parse the git history and format it like a ChangeLog file.
6 # This script is called at distribution tile (see "make dist").
7 #
8 git log --date=short "--format=%cd %an <%aE>:%n%x09* %s" "$@" \
9 | awk '/^[^\t]/{if(previous==$0)next;previous=$0}{print}' \
10 | sed '/^[^\t]/s/\([^ ]*\) \(.*\)/\n\1\n\2/'