threads / discuss / 4935

git clone / SHA1 mismatch

Subject: git clone / SHA1 mismatch

## tl;dr

2 messages between Jul 21, 2006 and Jul 21, 2006.

replies: 1people: 2as markdown or json

Mika Muukkonen· Jul 21, 2006, 04:55 UTC · lore
Greetings,
when attempting to clone repositories (Linus's kernel, stable 2.6.16, OMAP kernel) I seem to come across the following more or less constantly:
mmu@spud1:/var/git$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git linux-2.6.16
Generating pack...
Done counting 195441 objects.
Deltifying 195441 objects.
 100% (195441/195441) done
fatal: unexpected EOF)      
fatal: packfile '/var/git/linux-2.6.16/.git/objects/pack/tmp-QeO4uB' SHA1 mismatch
error: git-fetch-pack: unable to read from git-index-pack
error: git-index-pack died with error code 128
fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git' failed.
and
mmu@spud1:/var/git$ cg-clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git linux-2.6.16
defaulting to local storage area
Fetching pack (head and objects)...
Generating pack...
Done counting 190732 objects.
Deltifying 190732 objects.
 100% (190732/190732) done
fatal: unexpected EOF)      
fatal: packfile '.git/objects/pack/tmp-4BiKAb' SHA1 mismatch
error: git-fetch-pack: unable to read from git-index-pack
error: git-index-pack died with error code 128
cg-fetch: fetching pack failed
and... and...
I compiled a rather recent version of git:

mmu@spud1:/var/git$ git --version git version 1.4.2.rc1.ge7a0

and the all other libs required are up-to-date as well.
So; am I missing something or should cloning of current trees at kernel.org go down smoothly. Any advice apprecieated.
Mika Muukkonen
Johannes Schindelin· Jul 21, 2006, 08:37 UTC · re: Mika Muukkonen · lore

Re: git clone / SHA1 mismatch

Hi,
On Fri, 21 Jul 2006, Mika Muukkonen wrote:
Show 8 quoted lines
> when attempting to clone repositories (Linus's kernel, stable 2.6.16, OMAP kernel) I seem to come across the following more or less constantly:
> 
> mmu@spud1:/var/git$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git linux-2.6.16
> Generating pack...
> Done counting 195441 objects.
> Deltifying 195441 objects.
>  100% (195441/195441) done
> fatal: unexpected EOF)      

This sounds like you had a timeout before the complete pack was transmitted (the Deltifying takes place on the other side).

Hth, Dscho

← back to recent threads