0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/tools/update-authors.sh

23 lines
396 B
Bash
Raw Normal View History

#!/bin/sh
git log --reverse --format='%aN <%aE>' | perl -we '
BEGIN {
%seen = (), @authors = ();
}
while (<>) {
next if $seen{$_};
next if /\@chromium.org/;
next if /<erik.corry\@gmail.com>/;
$seen{$_} = push @authors, $_;
}
END {
print "# Authors ordered by first contribution.\n";
print "\n", @authors, "\n";
print "# Generated by tools/update-authors.sh\n";
}
' > AUTHORS