git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git fsck finds duplicate entries

From
DADominy, Patrick A <patrick-dominy@uiowa.edu>
Date
May 28, 2019, 21:42 UTC
Message-ID
<2FFF873C-0FCB-4E5F-BEA2-BCE54A623D1E@uiowa.edu>
Hi,
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.
 
Thanks
Next: Ævar Arnfjörð Bjarmason
Message 1 of 2 in “git fsck finds duplicate entries”
  1. Dominy, Patrick AMay 28, 2019
  2. Ævar Arnfjörð BjarmasonMay 28, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.