commit | 8c681e07c91b544756e2631493ebc15abd1e8589 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nico@cam.org> | Mon Apr 09 01:06:37 2007 -0400 |
committer | Junio C Hamano <junkio@cox.net> | Tue Apr 10 12:48:14 2007 -0700 |
tree | dda7fce82657edbe7c9565c5cfddd0abf7128e2b | |
parent | 32637cdf4a6a8d806feaa6b018bc4e4c7e2eb366 [diff] |
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>