6

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?

George Kagan
  • 5,913
  • 8
  • 46
  • 50
user6964
  • 201
  • 3
  • 8
  • 18

1 Answers1

3

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.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @Xinthral Cygwin? On Windows, [Git for Windows](https://gitforwindows.org/) means you don't really need a separate Cygwin installation, [since it uses msys2](https://stackoverflow.com/a/35099458/6309). For a full Linux environment, WSL2 is also a good alternative. – VonC Dec 22 '22 at 15:17