Commit 7bafd175 by Emilio Cobos Álvarez Committed by Nika Layzell

mailmap: Don't error out when there's junk at the end of the line

Also matches git.
parent 59fbf9cf
...@@ -126,9 +126,6 @@ static int git_mailmap_parse_single( ...@@ -126,9 +126,6 @@ static int git_mailmap_parse_single(
if (two_emails && !range_split(line, '>', &email_b, &line)) if (two_emails && !range_split(line, '>', &email_b, &line))
return -1; /* unfinished <> pair */ return -1; /* unfinished <> pair */
if (line.len > 0)
return -1; /* junk at end of line */
/* Trim whitespace from around names */ /* Trim whitespace from around names */
range_trim(&name_a); range_trim(&name_a);
range_trim(&name_b); range_trim(&name_b);
......
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