Skip to content

Commit 7bafd17

Browse files
emiliomystor
authored andcommitted
mailmap: Don't error out when there's junk at the end of the line
Also matches git.
1 parent 59fbf9c commit 7bafd17

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/mailmap.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ static int git_mailmap_parse_single(
126126
if (two_emails && !range_split(line, '>', &email_b, &line))
127127
return -1; /* unfinished <> pair */
128128

129-
if (line.len > 0)
130-
return -1; /* junk at end of line */
131-
132129
/* Trim whitespace from around names */
133130
range_trim(&name_a);
134131
range_trim(&name_b);

0 commit comments

Comments
 (0)