]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jh/verify-index-checksum-only-in-fsck'
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 05:07:49 +0000 (22:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 05:07:49 +0000 (22:07 -0700)
The index file has a trailing SHA-1 checksum to detect file
corruption, and historically we checked it every time the index
file is used.  Omit the validation during normal use, and instead
verify only in "git fsck".

* jh/verify-index-checksum-only-in-fsck:
  read-cache: force_verify_index_checksum

1  2 
cache.h

diff --cc cache.h
Simple merge