diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2010-10-22 16:26:23 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-22 14:59:58 -0700 |
commit | 71064a956b25ef519eab340e364d0bc0e786bd11 (patch) | |
tree | ab8c6463b30d9d24b18a64838c4b29d5ad63ec1a /xdiff-interface.h | |
parent | Git 1.7.3.2 (diff) | |
download | tgif-71064a956b25ef519eab340e364d0bc0e786bd11.tar.xz |
make pack-objects a bit more resilient to repo corruption
Right now, packing valid objects could fail when creating a thin pack
simply because a pack edge object used as a preferred base is corrupted.
Since preferred base objects are not strictly needed to produce a valid
pack, let's not consider the inability to read them as a fatal error.
Delta compression may well be attempted against other objects in the
search window. To avoid warning storms (we are in the inner loop of
the delta search window) a warning is emitted only on the first
occurrence.
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions