mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
53ba494537
PR-URL: https://github.com/iojs/io.js/pull/232 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
28 lines
456 B
Bash
Executable File
28 lines
456 B
Bash
Executable File
#!/bin/sh
|
|
|
|
git log --reverse --format='%aN <%aE>' | awk '
|
|
|
|
BEGIN {
|
|
print "# Authors ordered by first contribution.\n";
|
|
|
|
# explicit excludes
|
|
excludes["<erik.corry@gmail.com>"] = 1 # chromium team
|
|
}
|
|
|
|
{
|
|
if ($NF !~ /@chromium.org/ && all[$NF] != 1 && excludes[$NF] != 1) {
|
|
all[$NF] = 1;
|
|
ordered[length(all)] = $0;
|
|
}
|
|
}
|
|
|
|
END {
|
|
for (i in ordered) {
|
|
print ordered[i];
|
|
}
|
|
|
|
print "\n# Generated by tools/update-authors.sh";
|
|
}
|
|
|
|
' > AUTHORS
|