about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Import.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm
index d8dc49b8..68dc0c7e 100644
--- a/lib/PublicInbox/Import.pm
+++ b/lib/PublicInbox/Import.pm
@@ -293,6 +293,10 @@ sub extract_cmt_info ($) {
                 }
         }
         if (defined $email) {
+                # Email::Address::XS may leave quoted '<' in addresses,
+                # which git-fast-import doesn't like
+                $email =~ tr/<>//d;
+
                 # quiet down wide character warnings with utf8::encode
                 utf8::encode($email);
         } else {