diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000000..38e3ce7514 --- /dev/null +++ b/.mailmap @@ -0,0 +1,30 @@ +# Proper Name Commit Name +# See https://git-scm.com/docs/git-blame#_mapping_authors +Tomasz Słodkowicz + +Lisheng Guan +Lisheng Guan +Gabriele Villa +Gabriele Villa +Gabriele Villa +Gabriele Villa +James Higley +James Higley +Stefano Georgio +Stefano Georgio +Nikolay Akimov +Nikolay Akimov +Nikolay Akimov + +Madhan Kanagavel +Patrick O'Malley +Patrick O'Malley <68omalley@gmail.com> +Patrick O'Malley +Tomáš Frťala +Tomáš Frťala +Tomáš Frťala +Yosef Shatsky +Yosef Shatsky + +Stephen Groat +Stephen Groat diff --git a/util/list-authors.sh b/util/list-authors.sh new file mode 100755 index 0000000000..581db293a9 --- /dev/null +++ b/util/list-authors.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +declare -A users commits + +while IFS=$'|' read -r user year; do + [[ ${users[$user]} != *$year* ]] && users[$user]+=" $year" + commits[$user]=$((${commits[$user]}+1)) +done < <(git log --all --author-date-order --reverse --date=format:%Y --pretty="format:%aN <%aE>|%ad") + +for u in "${!users[@]}"; do echo -e "${users[$u]}\t$u\t${commits[$u]}"; done | sort