There will be maintenance performed on git.ligo.org, chat.ligo.org, containers.lig.org, and docs.ligo.org starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to computing-help@igwn.org.

Commit ecc99d07 authored by Karl Wette's avatar Karl Wette

Further expand .mailmap to provide unique author/email mapping

Original: e09c783cfcd8c5486a981f9ef7d7c1df4db169ab
parent 78a1d758
This diff is collapsed.
#!/usr/bin/perl
use strict;
open IN, "git shortlog -s -e -n |" or die $!;
my %authors;
my %emails;
while (<IN>) {
chomp;
$_ =~ m/^\s*\d+\s+([^<>]+)\s+<([^>]+)>\s*$/ or die;
my $author = $1;
my $email = $2;
next if $author =~ /^UNKNOWN/;
if (defined($authors{$author})) {
print "$authors{$author} <$email>\n";
} elsif (defined($emails{$email})) {
print "$emails{$email} <$email>\n";
} else {
$authors{$author} = $emails{$email} = "$author <$email>";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment