Code

sha1_file.c: simplify parse_pack_index()
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 Jun 2008 05:19:00 +0000 (22:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jun 2008 05:19:00 +0000 (22:19 -0700)
commit79c6dca413094d2df74e7050f1185963b00e9245
tree04e1aeabd72c3732b55a3bea74f561f068e8845f
parent3bfaf01857ebcefbd38529a73b059dc984ecb5a4
sha1_file.c: simplify parse_pack_index()

It was implemented as a thin wrapper around an otherwise unused
helper function parse_pack_index_file().  The code becomes simpler
and easier to read by consolidating the two.

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