]> git.street.me.uk Git - andy/viking.git/blame - maintainer/git2changelog.sh
Move GoogleSearch to new framework
[andy/viking.git] / maintainer / git2changelog.sh
CommitLineData
a65476dc
GB
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#
8git 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/'