summaryrefslogtreecommitdiff
path: root/deps/npm/scripts/update-authors.sh
blob: ac7b99137a9874e2264143804f80246abf2b1a97 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

git log --use-mailmap --reverse --format='%aN <%aE>' | perl -wnE '
BEGIN {
  say "# Authors sorted by whether or not they\x27re me";
}

print $seen{$_} = $_ unless $seen{$_}
' > AUTHORS