From: Junio C Hamano Date: Wed, 21 Aug 2013 22:17:17 GMT Subject: Re: [RFC/PATCH 0/4] duplicate objects in packfiles Message-ID: In-Reply-To: <20130821204955.GA28025@sigill.intra.peff.net> Jeff King 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.