Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git packfile is truncated

Tags:

git

eclipse

egit

When trying to pull using EGit with Eclipse I randomly get the error:

packfile is truncated

I don't know how and why this occurs. Even importing the project again doesn't help. What's the problem here?

like image 375
Tob Avatar asked Nov 11 '13 01:11

Tob


2 Answers

I had the same error and recognized that it always occured when I tried to import in Eclipse while having the local git repository (the directory the repository is going to be copied into) open. So just closing the file browser and importing again solved my problem.

like image 155
userSil Avatar answered Sep 19 '22 10:09

userSil


This problem could possibly be caused by not having enough space to create the pack files, so make sure you are not hitting any space. For more check at http://dev.eclipse.org/mhonarc/lists/ptp-user/msg02968.html

like image 25
turbandroid Avatar answered Sep 20 '22 10:09

turbandroid