user6964 user6964 - 1 month ago 19
Git Question

GIT - getting 'early eof' error on clone

I have a error Early EOF's (Index-Pack Failed) when I try to clone a project from a repository git.

But when I do a

git-pull
or
git-push
from my localhost to the repository, I have no problems.

The error gives me the message that the repository is corrupt. It's weird.

What factors can cause such errors? Does the server, where is the repository, has low memory?

Answer

git clone fails with “index-pack” failed? will list the most common causes for this error.

But note the current Cygwin version (if that is what you are using) has an issue with git when cloning over ssh.

Depending on the server executing the git clone request, you also have issue when cloning over ssh via git protocol.