git fsck finds duplicate entries
- Date: Tue, 28 May 2019 21:42:52 +0000
- From: "Dominy, Patrick A" <patrick-dominy@xxxxxxxxx>
- Subject: git fsck finds duplicate entries
Running git fsck against one of our repositories yields the following:
Error in tree xxxxxxx: duplicateEntries: contains duplicate file entries
We are struggling with the best approach to resolve the issue. We’ve used git replace, which successfully creates the replace reference, but fsck still returns the same duplicate entry error.
The commit that introduced the issue happened some time ago, making going back to the bad commit and replaying the commits a daunting task.
Any suggestions would be much appreciated.