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

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