$ git fetch sfmaster
error: object file .git/objects/c5/b7c987c43fbc3c7a79df58e7ca7a3cef3edf3f is empty
error: object file .git/objects/c5/b7c987c43fbc3c7a79df58e7ca7a3cef3edf3f is empty
fatal: loose object c5b7c987c43fbc3c7a79df58e7ca7a3cef3edf3f (stored in .git/objects/c5/b7c987c43fbc3c7a79df58e7ca7a3cef3edf3f) is corrupt
fatal: The remote end hung up unexpectedly
I got an error on fetching the latest FreeCAD from github, Anyone the same problem? Anyone an idea how to fix this ?
At the time when we have hosted the sources on SF I got this error from time to time. The only thing you can do is to wait. Nevertheless, I've just tried it now (i.e. ten minutes after your post) and it works for me flawlessly.
You might try to mv .git/objects/c5/b7c987c43fbc3c7a79df58e7ca7a3cef3edf3f /tmp/ since it looks like that's the offending object... hopefully if it isn't there git will just re-fetch it for you and proceed as expected.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
$
$ mv .git/objects/c5/b7c987c43fbc3c7a79df58e7ca7a3cef3edf3f /tmp/
$ git fetch sfmaster
error: refs/remotes/sfmaster/master does not point to a valid object!
error: refs/remotes/sfmaster/master does not point to a valid object!
error: refs/remotes/sfmaster/master does not point to a valid object!
error: refs/remotes/sfmaster/master does not point to a valid object!
remote: Counting objects: 34, done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 34 (delta 15), reused 0 (delta 0), pack-reused 0
Entpacke Objekte: 100% (34/34), Fertig.
error: object file .git/objects/7e/9da5e957cc44bb7349a3243acddb2eee2259f2 is empty
fatal: loose object 7e9da5e957cc44bb7349a3243acddb2eee2259f2 (stored in .git/objects/7e/9da5e957cc44bb7349a3243acddb2eee2259f2) is corrupt
error: https://github.com/FreeCAD/FreeCAD_sf_master/ hat nicht alle erforderlichen Objekte gesendet
$
$ git fetch sfmaster
error: object file .git/objects/7e/9da5e957cc44bb7349a3243acddb2eee2259f2 is empty
fatal: loose object 7e9da5e957cc44bb7349a3243acddb2eee2259f2 (stored in .git/objects/7e/9da5e957cc44bb7349a3243acddb2eee2259f2) is corrupt
fatal: The remote end hung up unexpectedly
$