Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to computing-help@ligo.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