Rajarshi Das
Rajarshi Das

Reputation: 12320

git pull thrown error in windows from git bash "index-pack failed"

Previously I can pull from this repository but recently I got this error

machine@bj ~/Desktop/rails-master (master)
$ git remote add origin https://github.com/rails/rails

 machine@bj ~/Desktop/rails-master (master)
 $ git pull origin master
 remote: Counting objects: 325661, done.
 remote: Compressing objects: 100% (86702/86702), done.
 effatal: early EOF  30% (97699/325661), 17.14 MiB | 861.00 KiB/s
 error: RPC failed; result=18, HTTP code = 200
 fatal: The remote end hung up unexpectedly
 fatal: index-pack failed

I searched in google and other place but did not get any kind of suitable help

Please suggest me... any kind of help will be appreciable....

Thanks

Upvotes: 1

Views: 1978

Answers (1)

VonC
VonC

Reputation: 1323273

On Windows, I can clone the repo without issue:

C:\Documents and Settings\VonC\prog\git>git clone https://github.com/rails/rails
Cloning into 'rails'...
remote: Counting objects: 381705, done.
remote: Compressing objects: 100% (96211/96211), done.
remote: Total 381705 (delta 293367), reused 368694 (delta 282130)
Receiving objects: 100% (381705/381705), 57.17 MiB | 587.00 KiB/s, done.
Resolving deltas: 100% (293367/293367), done.
Checking out files: 100% (2715/2715), done.

On linux, it seems to work too, except for the very end:

[ VonC,[email protected] for github.com ]
Cloning into 'rails'...
remote: Counting objects: 381705, done.
remote: Compressing objects: 100% (96211/96211), done.
remote: Total 381705 (delta 293367), reused 368694 (delta 282130)
Receiving objects: 100% (381705/381705), 57.17 MiB | 655.00 KiB/s, done.
Resolving deltas: 100% (293367/293367), done.
Checking connectivity... done
error: git-remote-https died of signal 13

So try to:

  • clone it in a new folder to check if that works better
  • make sure to use the latest git version possible

Upvotes: 1

Related Questions