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