My git repository got corrupted after a couple of hard reboots due to power supply issues and now I'm unable to fix it and after verification of logs files (in .git\logs\refs\heads
) i ve seen my branche with commit:
0000000000000000000000000000000000000000 2af7fde85969d445579df272716e8d78db9 user <user_mail> 1372352519 +0100 branch: Created from branch refs/heads/master
null null null null null null null null null null null null null null null null null null null null null null null null null null null null null null
and i have verified logs and copied to the corrupted file the line related to my commit and replace nulls with this
2af7fde85969d445579df272716e8d78db9 6c668139241332dbc7c7462a49978006de0 user <user_mail> 1372352552 +0100 commit: assignement report not verified
I have restared Eclipse and switch to my last commit and i always have the same error::
Branch failed
Object 6c668139241332dbc7c7462a49978006de0 is corrupt: invalid type
So, as you can see, my current branch is pretty screwed up and I don't seem to be able to fix it. Any ideea what can I try to repair this?