syncthing/changelog.sh

10 lines
242 B
Bash
Raw Normal View History

2014-12-07 08:58:36 +01:00
#!/bin/bash
since="$1"
if [[ -z $since ]] ; then
since="$(git describe --abbrev=0 HEAD^).."
fi
2015-01-14 00:27:05 +01:00
git log --reverse --pretty=format:'* %s, @%aN)' "$since" | egrep 'fixes #\d|ref #\d' | sed 's/),/,/' | sed 's/fixes #/#/g' | sed 's/ref #/#/g'
2014-12-07 08:58:36 +01:00