mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
456 B
28 lines
456 B
10 years ago
|
#!/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
|