Merge branch 'jh/verify-index-checksum-only-in-fsck'
commitcdfe138b360cd10f74ef9d2d031cb10447cb3338
authorJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 05:07:49 +0000 (23 22:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Apr 2017 05:07:49 +0000 (23 22:07 -0700)
tree44a8d80a209a2f490ae0575c634ea50e7a6e3ac7
parent8868ba19626a72d5883241c36fd5477897ef8dd1
parenta33fc72fe911fdb8e284c94e08e8f1dafe4d3187
Merge branch 'jh/verify-index-checksum-only-in-fsck'

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
cache.h