Script for generating the change log

This commit is contained in:
Jakob Borg 2014-12-07 08:58:36 +01:00
parent f9fcb44f3c
commit 87abea0ba3
1 changed files with 9 additions and 0 deletions

9
changelog.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
since="$1"
if [[ -z $since ]] ; then
since="$(git describe --abbrev=0 HEAD^).."
fi
git log --pretty=format:'* %h %s (%an)' "$since" | grep '(fixes #'