diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-08-20 16:51:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-20 15:31:39 -0700 |
commit | c39b02ae0ae90b9fda353f87502ace9ba36db839 (patch) | |
tree | 62b3fd9b88a80fb0549c701b3d5833b53b818967 /t/helper/test-repository.c | |
parent | multi-pack-index: store local property (diff) | |
download | tgif-c39b02ae0ae90b9fda353f87502ace9ba36db839.tar.xz |
midx: mark bad packed objects
When an object fails to decompress from a pack-file, we mark the object
as 'bad' so we can retry with a different copy of the object (if such a
copy exists).
Before now, the multi-pack-index did not update the bad objects list for
the pack-files it contains, and we did not check the bad objects list
when reading an object. Now, do both.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-repository.c')
0 files changed, 0 insertions, 0 deletions