From: Shawn Pearce Date: Thu, 17 Nov 2011 20:51:43 GMT Subject: Re: [PATCH] receive-pack, fetch-pack: reject bogus pack that records objects twice Message-ID: In-Reply-To: <7v7h2znv36.fsf@alter.siamese.dyndns.org> On Wed, Nov 16, 2011 at 22:04, Junio C Hamano wrote: > When receive-pack & fetch-pack are run and store the pack obtained over > the wire to a local repository, they internally run the index-pack command > with the --strict option. Make sure that we reject incoming packfile that > records objects twice to avoid spreading such a damage. > > Signed-off-by: Junio C Hamano Looks sane to me. I thought this would be more difficult to catch and report to the user. :-)