You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
266 B

  1. #! /bin/bash
  2. set -euo pipefail
  3. ref=$1
  4. if [[ ! -z "$ref" ]]; then
  5. git log master..$ref | grep Author | sort | uniq
  6. else
  7. cat << EOF
  8. Usage:
  9. ./authors.sh <ref>
  10. Print a list of all authors who have committed to the codebase since the supplied commit ref.
  11. EOF
  12. fi