pack-objects: fix use of use_pack().
commit9c18df19073bad62e16d6b6b8e1939fd15424612
authorJunio C Hamano <junkio@cox.net>
Fri, 29 Dec 2006 06:29:06 +0000 (28 22:29 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Dec 2006 19:36:45 +0000 (29 11:36 -0800)
tree277ef469fef80520dcf8a779eedba28dc9d43479
parentf5b1b5a07e2d715c5ee7c098e95bd3dbc8ee745d
pack-objects: fix use of use_pack().

The code calls use_pack() to make that the variably encoded
offset fits in the mmap'ed window, but it forgot that the
operation gives the pointer to the beginning of the asked
region.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c