cherry-pick: refactor commit parsing code
commitdd9314cc2a2f353bf9438db14cbbf02a1c219bda
authorJeff King <peff@peff.net>
Thu, 11 Feb 2010 21:06:43 +0000 (11 16:06 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Feb 2010 06:11:01 +0000 (11 22:11 -0800)
treef428338181d4c3468319c24e4edddf8d5f420f85
parent6e359978e9792a83e8b45c0b76c3974518d2c738
cherry-pick: refactor commit parsing code

These lines are really just lookup_commit_reference
re-implemented.

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