changelog.sh: sort and list only unique changes

This commit is contained in:
Ivailo Monev 2015-01-24 21:25:39 +00:00
parent 2148f6320e
commit 52b7d2ec44

View file

@ -17,7 +17,7 @@ for p in "${packs[@]}";do
echo "Generating changes for $p as of $date..."
cd "$p"
changes+="\nChanges to $p since $date:"
pchanges="$(git log --since=$date --format=' * %s')"
pchanges="$(git log --since=$date --format=' * %s' | sort -u)"
if [ -z "$pchanges" ];then
pchanges=" * none"
fi