mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 00:18:41 +00:00
parsing.c: Remove leading space from committer
This did not really break anything in the past since spaces are ignored when rendering HTML. Remove the preceding space anyway to prevent from potential future problems. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
This commit is contained in:
parent
c01fb69fc9
commit
2a7dd4bf67
@ -156,7 +156,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (p && !prefixcmp(p, "committer ")) {
|
if (p && !prefixcmp(p, "committer ")) {
|
||||||
p = parse_user(p + 9, &ret->committer, &ret->committer_email,
|
p = parse_user(p + 10, &ret->committer, &ret->committer_email,
|
||||||
&ret->committer_date);
|
&ret->committer_date);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user