Commit 44112db2 by Emilio Cobos Álvarez Committed by Nika Layzell

mailmap: Be consistent about checking len vs. len > 0

Not that it matters much anyway but...
parent ae5ee182
......@@ -105,7 +105,7 @@ static int git_mailmap_parse_single(
*replace_name = NULL_RANGE;
*replace_email = NULL_RANGE;
while (file->len) {
while (file->len > 0) {
/* Get the line, and remove any comments */
range_split(*file, '\n', &line, file);
range_split(line, '#', &line, &comment);
......
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