3 # This script is used to generate the list of changes that
4 # appears in the release notes files, with HTML formatting.
8 # $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3
9 # $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 > changes
10 # $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 | tee changes
15 git shortlog $* | while read l
17 if [ $in_log -eq 0 ]; then
21 elif echo "$l" | egrep -q '^$' ; then
26 mesg=$(echo $l | sed 's/ (cherry picked from commit [0-9a-f]\+)//;s/\&/&/g;s/</\</g;s/>/\>/g')
27 echo ' <li>'${mesg}'</li>'