On 4/5/2017 2:25 PM, Jeff King wrote:
On Wed, Apr 05, 2017 at 06:06:25PM +, g...@jeffhostetler.com wrote:
---
builtin/fsck.c | 1 +
cache.h | 2 ++
read-cache.c| 7 +++
t/t1450-fsck.sh | 13 +
4 files changed, 23 insertions(+)
This version is delightfull
Hi,
g...@jeffhostetler.com wrote:
> --- a/t/t1450-fsck.sh
> +++ b/t/t1450-fsck.sh
> @@ -689,4 +689,17 @@ test_expect_success 'bogus head does not fallback to all
> heads' '
> ! grep $blob out
> '
>
> +test_expect_success 'detect corrupt index file in fsck' '
> + cp .git/index .git/i
On Wed, Apr 05, 2017 at 06:06:25PM +, g...@jeffhostetler.com wrote:
> ---
> builtin/fsck.c | 1 +
> cache.h | 2 ++
> read-cache.c| 7 +++
> t/t1450-fsck.sh | 13 +
> 4 files changed, 23 insertions(+)
This version is delightfully simple. Thanks for sticking wi
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
4 matches
Mail list logo