Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fatal: loose object #181

Closed
mcknight89 opened this Issue Mar 27, 2013 · 2 comments

Comments

Projects
None yet
2 participants

Hey,

I figured I should let you know that there is a problem that I get alot where file in git gets broken and I can no longer commit. I think this is due to error in the SD card. But this is a
real problem as it stops commits to bitbucket:

error: object file .git/objects/2c/e98048b95181870dbba33675f3d2bc1d995c47 is empty
fatal: loose object 2ce98048b95181870dbba33675f3d2bc1d995c47 (stored in .git/objects/2c/e98048b95181870dbba33675f3d2bc1d995c47) is corrupt

It is considerably worse if you have other repo's, this error actually slows down webide down a hell of a lot and makes it unusable.

Let me know your comments.

Owner

jwcooper commented Apr 6, 2013

I haven't figure out how this happens within the WebIDE yet. I'm digging into it though.

The next release (0.3.7) does have much more error handling for git commands, so these issues should surface sooner.

Owner

jwcooper commented Apr 9, 2013

I've added a note to the webide guide on how to recover from a situation like this. I don't think I can always prevent this from happening, as it can happen any number of ways.

http://learn.adafruit.com/webide/faq#faq-4

@jwcooper jwcooper closed this Apr 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment