Re: [RFC/PATCH 0/4] duplicate objects in packfiles
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 21, 2013, 22:17 UTC
- Message-ID
- <xmqq38q2u1si.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20130821204955.GA28025@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Which leaves the open question: should the default for index-pack flip > to reject duplicates rather than allow?
I'd say so.
In am emergency, people with broken packfiles can feed them to unpack-objects ;-)
More seriously, an alternative emergency mode may be an option to unpack-objects that does not unpack objects but streams to a new pack or something to resurret the objects that are salvageable from a corrupt packfile.