summaryrefslogtreecommitdiff
path: root/tools/update-authors.sh
blob: d07d9c9ff73c43deca4c48824845c9dd60df6cbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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