tra-analysis/website/node_modules/npm/scripts/update-authors.sh

10 lines
183 B
Bash
Raw Normal View History

2019-01-06 19:14:45 +00:00
#!/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