Clone of mesa.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

shortlog_mesa.sh 688B

1234567891011121314151617181920212223242526272829
  1. #!/bin/bash
  2. # This script is used to generate the list of changes that
  3. # appears in the release notes files, with HTML formatting.
  4. #
  5. # Usage examples:
  6. #
  7. # $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3
  8. # $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 > changes
  9. # $ bin/shortlog_mesa.sh mesa-9.0.2..mesa-9.0.3 | tee changes
  10. typeset -i in_log=0
  11. git shortlog $* | while read l
  12. do
  13. if [ $in_log -eq 0 ]; then
  14. echo '<p>'$l'</p>'
  15. echo '<ul>'
  16. in_log=1
  17. elif echo "$l" | egrep -q '^$' ; then
  18. echo '</ul>'
  19. echo
  20. in_log=0
  21. else
  22. mesg=$(echo $l | sed 's/ (cherry picked from commit [0-9a-f]\+)//;s/\&/&amp;/g;s/</\&lt;/g;s/>/\&gt;/g')
  23. echo ' <li>'${mesg}'</li>'
  24. fi
  25. done