mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 15:30:56 +01:00
d33a647b4b
And by cross-platform I mean Linux and OS X. The awk script is not compatible with BSD awk, that's why this commit changes it to perl. Update the .mailmap to remove some duplicates and regenerate the AUTHORS file. Fixes: https://github.com/iojs/io.js/issues/1120 PR-URL: https://github.com/iojs/io.js/pull/1121 Reviewed-By: Rod Vagg <rod@vagg.org>
23 lines
396 B
Bash
Executable File
23 lines
396 B
Bash
Executable File
#!/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
|