Show revision which merged the change in generated changelog

This commit is contained in:
Matthias Beyer 2018-05-01 21:51:27 +02:00
parent 2bf09e7737
commit 8f3b725b43

View file

@ -10,7 +10,7 @@ fi
for rev in $(git rev-list "$since"..HEAD | tac); do
if git notes --ref=changelog list $rev &> /dev/null; then
output=$(git notes --ref=changelog show $rev | sed '2,$s/^/ /')
echo "* $output"
echo "* [$(echo ${rev:0:10})] $output"
fi
done