summaryrefslogtreecommitdiff
path: root/pack-revindex.h
diff options
context:
space:
mode:
authorLibravatar Nicolas Pitre <nico@cam.org>2008-10-29 19:02:50 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-02 15:22:35 -0800
commit64bd76b1de75483dea646c39c390113ffc821299 (patch)
tree46121c26b007083641d24bcf51590bc53064714c /pack-revindex.h
parentmake find_pack_revindex() aware of the nasty world (diff)
downloadtgif-64bd76b1de75483dea646c39c390113ffc821299.tar.xz
pack-objects: allow "fixing" a corrupted pack without a full repack
When the pack data to be reused is found to be bad, let's fall back to full object access through the generic path which has its own strategies to find alternate object sources in that case. This allows for "fixing" a corrupted pack simply by copying either another pack containing the object(s) found to be bad, or the loose object itself, into the object store and launch a repack without the need for -f. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-revindex.h')
0 files changed, 0 insertions, 0 deletions