aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--inline_--stdout_initial..side
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-04-19 07:23:07 -0700
committerJunio C Hamano <gitster@pobox.com>2010-04-19 17:56:13 -0700
commit9b0aa728705439ca4b4e7ec845f79f8487059320 (patch)
tree519fe764ab29f4ab7f87c9baccff601a5e2a9313 /t/t4013/diff.format-patch_--inline_--stdout_initial..side
parentIntroduce close_pack_index to permit replacement (diff)
downloadgit-9b0aa728705439ca4b4e7ec845f79f8487059320.tar.gz
git-9b0aa728705439ca4b4e7ec845f79f8487059320.zip
Extract verify_pack_index for reuse from verify_pack
The dumb HTTP transport should verify an index is completely valid before trying to use it. That requires checking the header/footer but also checking the complete content SHA-1. All of this logic is already in the front half of verify_pack, so pull it out into a new function that can be reused. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..side')
0 files changed, 0 insertions, 0 deletions