Re: [PATCH v5] read-cache: force_verify_index_checksum

2017-04-05 Thread Jeff Hostetler
On 4/5/2017 1:03 PM, Jonathan Nieder wrote: Hi, g...@jeffhostetler.com wrote: Signed-off-by: Jeff Hostetler --- builtin/fsck.c | 1 + cache.h | 2 ++ read-cache.c| 7 +++ t/t1450-fsck.sh | 11 +++ 4 files changed, 21 insertions(+) Yay! I love this version.

Re: [PATCH v5] read-cache: force_verify_index_checksum

2017-04-05 Thread Jonathan Nieder
Hi, g...@jeffhostetler.com wrote: > Signed-off-by: Jeff Hostetler > --- > builtin/fsck.c | 1 + > cache.h | 2 ++ > read-cache.c| 7 +++ > t/t1450-fsck.sh | 11 +++ > 4 files changed, 21 insertions(+) Yay! I love this version. > --- a/builtin/fsck.c > +++ b/builti

[PATCH v5] read-cache: force_verify_index_checksum

2017-04-05 Thread git
From: Jeff Hostetler Teach git to skip verification of the SHA1-1 checksum at the end of the index file in verify_hdr() which is called from read_index() unless the "force_verify_index_checksum" global variable is set. Teach fsck to force this verification. The checksum verification is for dete