sha1_name.c: refactor find_short_packed_object()
commitf703e6ea5e3bc7ff39b3ef6d3a21208fb63dfabd
authorJunio C Hamano <gitster@pobox.com>
Mon, 18 Jun 2012 20:10:38 +0000 (18 13:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2012 17:24:15 +0000 (3 10:24 -0700)
treed7ce56142a3637d5d300e3704a4ce0d7bba1e999
parent1b27c2f01af398706acf554794644daaf6bc8835
sha1_name.c: refactor find_short_packed_object()

Extract the logic to find object(s) that match a given prefix inside
a single pack into a separate helper function, and give it a bit more
comment.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c