syncthing/changelog.sh

10 lines
206 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
git log --pretty=format:'* %s \n (%h, @%aN)' "$since" | egrep 'fixes #\d|ref #\d' | sed s/\\\\n/\\$'\n'/
2014-12-07 08:58:36 +01:00