mailmap: Don't error out when there's junk at the end of the line Also matches git.
diff --git a/src/mailmap.c b/src/mailmap.c
index 850b566..dfff47d 100644
--- a/src/mailmap.c
+++ b/src/mailmap.c
@@ -126,9 +126,6 @@ static int git_mailmap_parse_single(
if (two_emails && !range_split(line, '>', &email_b, &line))
return -1; /* unfinished <> pair */
- if (line.len > 0)
- return -1; /* junk at end of line */
-
/* Trim whitespace from around names */
range_trim(&name_a);
range_trim(&name_b);