]> git.ipfire.org Git - thirdparty/git.git/commit
pack-redundant.c: learn about index v2
authorNicolas Pitre <nico@cam.org>
Mon, 9 Apr 2007 05:06:37 +0000 (01:06 -0400)
committerJunio C Hamano <junkio@cox.net>
Tue, 10 Apr 2007 19:48:14 +0000 (12:48 -0700)
commit8c681e07c91b544756e2631493ebc15abd1e8589
treedda7fce82657edbe7c9565c5cfddd0abf7128e2b
parent32637cdf4a6a8d806feaa6b018bc4e4c7e2eb366
pack-redundant.c: learn about index v2

Initially the conversion was made using nth_packed_object_sha1() which
made this file completely index version agnostic. Unfortunately the
overhead was quite significant so I went back to raw index walking but
with selectable base and step values which brought back similar
performances as the original.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-redundant.c