Commit 7bafd175e55d5f6bf96f70973cfff92ee3ca5179

Emilio Cobos Álvarez 2018-03-18T01:39:57

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);