- push @{$authors{$display}}, $author{YEAR};
- for my $commit (uniq @{$author{COMMITS}}) {
- my $details = `git rev-list --format=%B --max-count=1 $commit`;
- while ($details =~ /co-authored-by: ([^<]+<[^>]+>)/gi) {
- $authors{$1} //= [];
- push @{$authors{$1}}, $author{YEAR};
- }
+ push @{$authors{$display}}, $commits{$commit}->{YEAR};
+ my $details = `git rev-list --format=%B --max-count=1 $commit`;
+ while ($details =~ /co-authored-by: ([^<]+<[^>]+>)/gi) {
+ $authors{$1} //= [];
+ push @{$authors{$1}}, $commits{$commit}->{YEAR};