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

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

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