]> git.99rst.org Git - git.git/commit
parse_commit(): describe more date-parsing failure modes
authorJeff King <redacted>
Thu, 27 Apr 2023 08:17:24 +0000 (04:17 -0400)
committerJunio C Hamano <redacted>
Thu, 27 Apr 2023 16:31:46 +0000 (09:31 -0700)
commit90ef0f14eb1410747885806d8e55725053572654
treef9399e3398e8e12b5389980d3dd1c0c54a94a21f
parent089d9adff6408b8f3406e2f46179501337715ae8
parse_commit(): describe more date-parsing failure modes

The previous few commits improved the parsing of dates in malformed
commit objects. But there's one big case left implicit: we may still
feed garbage to parse_timestamp(). This is preferable to trying to be
more strict, but let's document the thinking in a comment.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
commit.c
git clone https://git.99rst.org/PROJECT