summaryrefslogtreecommitdiff
path: root/xdiff-interface.h
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2008-10-29 19:02:48 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-02 15:22:35 -0800
commit03d660150cbc80cd7d2ec90c3c4e6ce563295e3a (patch)
tree97c2db823d00d000136895a205d2cc8c0caa3ea0 /xdiff-interface.h
parentmake packed_object_info() resilient to pack corruptions (diff)
downloadtgif-03d660150cbc80cd7d2ec90c3c4e6ce563295e3a.tar.xz
make check_object() resilient to pack corruptions
The check_object() function tries to get away with the least amount of pack access possible when it already has partial information on given object rather than calling the more costly packed_object_info(). When things don't look right, it should just give up and fall back to packed_object_info() directly instead of die()'ing. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions