index-pack: learn about pack index version 2
authorNicolas Pitre <nico@cam.org>
Mon, 9 Apr 2007 05:06:34 +0000 (01:06 -0400)
committerJunio C Hamano <junkio@cox.net>
Tue, 10 Apr 2007 19:48:14 +0000 (12:48 -0700)
commitd1a46a9eab2ce136240fe2e8db34b36338052e97
treefe1aad61d5acea52a7a9bc38e513cb77f98e677a
parentc553ca25bd60dc9fd50b8bc7bd329601b81cee66
index-pack: learn about pack index version 2

Like previous patch but for index-pack.

[ There is quite some code duplication between pack-objects and index-pack
  for generating a pack index (and fast-import as well I suppose).  This
  should be reworked into a common function eventually. But not now. ]

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