summaryrefslogtreecommitdiff
path: root/t/t3501-revert-cherry-pick.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-06-03 15:32:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-05 22:45:38 -0700
commit3de89c9d4216d0fdc11bd1141c419ac4d0d35fed (patch)
tree218f4d8958273c4685df94b1772ad9de4ed30b22 /t/t3501-revert-cherry-pick.sh
parentindex-pack: show histogram when emulating "verify-pack -v" (diff)
downloadtgif-3de89c9d4216d0fdc11bd1141c419ac4d0d35fed.tar.xz
verify-pack: use index-pack --verify
This finally gets rid of the inefficient verify-pack implementation that walks objects in the packfile in their object name order and replaces it with a call to index-pack --verify. As a side effect, it also removes packed_object_info_detail() API which is rather expensive. As this changes the way errors are reported (verify-pack used to rely on the usual runtime error detection routine unpack_entry() to diagnose the CRC errors in an entry in the *.idx file; index-pack --verify checks the whole *.idx file in one go), update a test that expected the string "CRC" to appear in the error message. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3501-revert-cherry-pick.sh')
0 files changed, 0 insertions, 0 deletions