record_author_date(): use find_commit_header()
commitea5517f04b08bdb40eca72888220bd6a90d3cf17
authorJeff King <peff@peff.net>
Wed, 27 Aug 2014 07:56:55 +0000 (27 03:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Aug 2014 17:31:13 +0000 (27 10:31 -0700)
tree30f742f01d8d09b067737aba5ff4058a6f51f3ff
parent6876618ceaafddba625ed823679d99de0e79d111
record_author_date(): use find_commit_header()

This saves us some manual parsing and makes the code more
readable.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c