sphereii
Well-known member
So, there's another observation for you. I have been trying (via command line too) to fetch the ZombieDayz from git and I get this fail every time:
...lots of objects these...
Receiving objects: 50% (5842/11660), 561.20 MiB | 473.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Null
Then it just stops. If I restart, it starts from 0% again.
It seems that git clone cannot be made to continue a failed download. I google a bit and found this snippet:
git clone --depth 1 WHATEVER.git .
git fetch --unshallow
Apparently once step one is done, step two can be interrupted and be resumed. If you think that holds any water, maybe you can stick on option in the settings for "I have an unreliable connection, do your best to make downloads resume" or something.
(Maybe make it possible to also fetch the zip rather than a clone? Although, this also has timeout issues.)
Hmm... try this
git init --initial branch <branch>
git remote add original http://git.whereever
git pull --depth 1 original <branch>
This should allow you to re-run the git pull if it fails, and should resume.