tools/changelog-helper.sh: use %aN instead of %an to respect .mailmap

This commit is contained in:
Alexander Krotov 2019-01-07 09:18:11 +03:00
parent a92d6fa5be
commit c0e4f66eb3

View file

@ -17,7 +17,7 @@ do
file=$x
fi
echo " * $file"
GIT_PAGER=cat git log --pretty=format:'%n%w(78,4,6)+ %s (%an)%n%n%w(78,6,6)%b%n' $lastmod..HEAD $x
GIT_PAGER=cat git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' -- "$lastmod..HEAD" "$x"
fi
done