lib/PublicInbox/Import.pm | 6 ++++++ diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm index 5bae69df4d349f1e40a898df0bf3972684eff588..7073c3d96d70742be0477278d9c8250609f2dd20 100644 --- a/lib/PublicInbox/Import.pm +++ b/lib/PublicInbox/Import.pm @@ -139,6 +139,12 @@ $subject = '(no subject)' unless defined $subject; my $mid = mid_mime($mime); my $path = mid2path($mid); + # git gets confused with: + # "'A U Thor ' via foo" + # ref: + # + $name =~ s/<([^>]+)>/($1)/g; + my ($r, $w) = $self->gfi_start; my $tip = $self->{tip}; if ($tip ne '') {