Reocurring unpack failed on git repo improted from svn

Posted by xavier on Server Fault See other posts from Server Fault or by xavier
Published on 2012-11-08T09:43:40Z Indexed on 2012/11/08 11:06 UTC
Read the original article Hit count: 245

Filed under:

I have a git repo created from svn with git-svn. Everything converted just fine, but from time to time, when I try to git push, I get:

error: unpack failed: unpack-objects abnormal exit

Other repos on our server (created from scratch or imported from svn) work fine.

The solution is usually to unstage, commit and push files one by one, modify the one that fails (e.g. add a whitespace or something) and commit it once again.

It's obviously very irritating, for big commits it's a productivity killer - and requires a lot of server pushes.

I'd be grateful for any suggestions on where to look, I couldn't google anything up.

© Server Fault or respective owner

Related posts about git