Commit fee065a0 by nulltoken

Made possible to parse a person with no specified timezone offset.

parent 13710f1e
......@@ -90,6 +90,12 @@ int git_person__parse_timezone_offset(const char *buffer, int *offset_out)
offset_start = buffer + 1;
if (*offset_start == '\n')
{
*offset_out = 0;
return GIT_SUCCESS;
}
if (offset_start[0] != '-' && offset_start[0] != '+')
return GIT_EOBJCORRUPTED;
......
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