diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-09-13 18:03:00 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-13 11:28:33 -0700 |
commit | 77965f8b29f8311c42a0a770693dd0f8411e84db (patch) | |
tree | 3db16333b84e7f2b3f4231acf65f3b51f68e7511 /contrib/hg-to-git/hg-to-git.txt | |
parent | Git 1.8.4 (diff) | |
download | tgif-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 'contrib/hg-to-git/hg-to-git.txt')
0 files changed, 0 insertions, 0 deletions