#!/usr/bin/env bash
## Symlink to git-authors. List authors in the repository in descending commit-count order.
## Source: git-extra-commands

#
# https://github.com/cofi/dotfiles/blob/master/bin

WHERE='.'
if [[ $# == 1 ]]; then
  WHERE="$1"
fi

exec git log --pretty=format:'%an <%ae>' "$WHERE" | sort | uniq -c | sort -nr
