aboutsummaryrefslogtreecommitdiff
path: root/t/t5303-pack-corruption-resilience.sh
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-10-29 19:02:50 -0400
committerJunio C Hamano <gitster@pobox.com>2008-11-02 15:22:35 -0800
commit64bd76b1de75483dea646c39c390113ffc821299 (patch)
tree46121c26b007083641d24bcf51590bc53064714c /t/t5303-pack-corruption-resilience.sh
parent08698b1e32bc414f214b7300b40c30a30d9ecd1c (diff)
downloadgit-64bd76b1de75483dea646c39c390113ffc821299.tar.gz
git-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 't/t5303-pack-corruption-resilience.sh')
0 files changed, 0 insertions, 0 deletions