check-contrib.sh 560 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. missing-contribs() {
  3. for email in $(git log --format=%ae master | grep -v [email protected] | sort | uniq) ; do
  4. grep -q "$email" CONTRIBUTORS || echo $email
  5. done
  6. }
  7. no-docs-typos() {
  8. # Commits that are known to not change code
  9. grep -v f2459ef3319b2f060dbcdacd0c35a1788a94b8bd |\
  10. grep -v b61f418bf2d1f7d5a9d7088a20a2a448e5e66801 |\
  11. grep -v f0621207e3953711f9ab86d99724f1d0faac45b1 |\
  12. grep -v f1120d7aa936c0658429edef0037792520b46334
  13. }
  14. for email in $(missing-contribs) ; do
  15. git log --author="$email" --format="%H %ae %s" | no-docs-typos
  16. done