git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / 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

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


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

git@vger.kernel.org list mirror (unofficial, one of many)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ https://public-inbox.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for the project(s) associated with this inbox:

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git