atcheck/lsscanner/new_ubuntu/node_modules/npm/scripts/update-authors.sh

10 lines
197 B
Bash
Raw Normal View History

2019-12-16 18:42:21 +01:00
#!/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