git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git fsck finds duplicate entries
@ 2019-05-28 21:42 Dominy, Patrick A
  2019-05-28 22:48 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 2+ messages in thread
From: Dominy, Patrick A @ 2019-05-28 21:42 UTC (permalink / raw)
  To: git@vger.kernel.org

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git fsck finds duplicate entries
  2019-05-28 21:42 git fsck finds duplicate entries Dominy, Patrick A
@ 2019-05-28 22:48 ` Ævar Arnfjörð Bjarmason
  0 siblings, 0 replies; 2+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2019-05-28 22:48 UTC (permalink / raw)
  To: Dominy, Patrick A; +Cc: git@vger.kernel.org


On Tue, May 28 2019, Dominy, Patrick A wrote:

> 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.

At this point you either rewrite the repository or live with it. To live
with it see the fsck.skipList documentation in git-config(1). I.e. you'd
whitelist this tree as known-bad.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-28 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 21:42 git fsck finds duplicate entries Dominy, Patrick A
2019-05-28 22:48 ` Ævar Arnfjörð Bjarmason

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).