$ 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
これが失敗する理由はありますか?
実行するgit --bare fsck-objects --full
と、ぶら下がっているリンクが表示されますが、壊れたリンクは表示されません。またgit gc
、何の役にも立ちませんでした。別のクローンから再クローン化またはプルすると、このエラーは表示されません。