threads / discuss / 6439

Packfile SHA1 mismatch with itself

Subject: Packfile SHA1 mismatch with itself

## tl;dr

2 messages between Jan 19, 2007 and Jan 19, 2007.

replies: 1people: 2as markdown or json

Luben Tuikov· Jan 19, 2007, 20:35 UTC · lore

$GIT_DIR=. git-fsck-objects --full error: Packfile ./objects/pack/pack-8cafdff4eb66bb2219016e4c0817cdb5cb326ab6.pack SHA1 mismatch with itself fatal: unknown object type 0 in ./objects/pack/pack-8cafdff4eb66bb2219016e4c0817cdb5cb326ab6.pack

So,... anyone seen this?

Is there a way to fix it, other than blowing away the repo and recreating it?

Thanks,
   Luben
Junio C Hamano· Jan 19, 2007, 21:22 UTC · re: Luben Tuikov · lore

Re: Packfile SHA1 mismatch with itself

Luben Tuikov <ltuikov@yahoo.com> writes:
> $GIT_DIR=. git-fsck-objects --full
> error: Packfile ./objects/pack/pack-8cafdff4eb66bb2219016e4c0817cdb5cb326ab6.pack SHA1 mismatch
> with itself
Nothing rings a bell other than:
commit 8977c110b5bbd230c28c727ddb85856067d55cfb
Author: Junio C Hamano <junkio@cox.net>
Date:   Wed Jan 3 23:09:08 2007 -0800
    pack-check.c::verify_packfile(): don't run SHA-1 update on huge data

which is in 1.4.4.4. 'master' has an equilvalent due to the use of sliding mmap.

← back to recent threads