summaryrefslogtreecommitdiff
path: root/t/t9604
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-09-13 18:03:00 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-13 11:28:33 -0700
commit77965f8b29f8311c42a0a770693dd0f8411e84db (patch)
tree3db16333b84e7f2b3f4231acf65f3b51f68e7511 /t/t9604
parentGit 1.8.4 (diff)
downloadtgif-77965f8b29f8311c42a0a770693dd0f8411e84db.tar.xz
pack-objects: no crc check when the cached version is used
Current code makes pack-objects always do check_pack_crc() in unpack_entry() even if right after that we find out there's a cached version and pack access is not needed. Swap two code blocks, search for cached version first, then check crc. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9604')
0 files changed, 0 insertions, 0 deletions