# git clone / SHA1 mismatch

2 messages from 2006-07-21 to 2006-07-21. Participants: Mika Muukkonen, Johannes Schindelin.
Thread: https://gitlist.dev/t/4935

## Mika Muukkonen, 2006-07-21 04:55

Subject: git clone / SHA1 mismatch
Message-ID: <007e01c6ac81$d523a700$76401f0a@almare2.tre>
URL: https://gitlist.dev/e/007e01c6ac81%24d523a700%2476401f0a%40almare2.tre

```
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, 2006-07-21 08:37

Subject: Re: git clone / SHA1 mismatch
Message-ID: <Pine.LNX.4.63.0607211036160.29667@wbgn013.biozentrum.uni-wuerzburg.de>
URL: https://gitlist.dev/e/Pine.LNX.4.63.0607211036160.29667%40wbgn013.biozentrum.uni-wuerzburg.de
In-Reply-To: <007e01c6ac81$d523a700$76401f0a@almare2.tre>

```
Hi,

On Fri, 21 Jul 2006, Mika Muukkonen wrote:

> 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

```
