summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-12-28 22:29:06 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-12-29 11:36:45 -0800
commit9c18df19073bad62e16d6b6b8e1939fd15424612 (patch)
tree277ef469fef80520dcf8a779eedba28dc9d43479 /sha1_file.c
parentFix random segfaults in pack-objects. (diff)
downloadtgif-9c18df19073bad62e16d6b6b8e1939fd15424612.tar.xz
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>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions