recently I got a:
remote: fatal: *object 534a44ef7703fdfe13e609b3e87e98bd52af60f8 is corrupted
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on
the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: *early EOF*
fatal: index-pack failed
which later I found that the *read/write permissions* of the git database
was wrong. How it went wrong?
I do have a pre-receive hook that failed with an error - the user group did
not exist on the operating host - this left a few files with the wrong
permissions. So I fixed it with:
chmod -R ug+rwX <repo>
Hope this helps someone ...