From: Junio C Hamano Date: Thu, 17 Nov 2011 06:04:13 +0000 (-0800) Subject: receive-pack, fetch-pack: reject bogus pack that records objects twice X-Git-Tag: v1.7.8.1~12^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/68be2fea50e7a34c0e5f9fdf6adb9040c8df197f?hp=68be2fea50e7a34c0e5f9fdf6adb9040c8df197f receive-pack, fetch-pack: reject bogus pack that records objects twice 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 ---