$ git pull
remote: fatal: object 21f3981dd35fccd28febabd96f27241eea856c50 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: protocol error: bad pack header
Any ideas why this is failing?
When I run git --bare fsck-objects --full
I just see dangling links but no broken links. Also git gc
didn't help in any way. When I reclone or do pull from another clone, I don't see this error.