summaryrefslogtreecommitdiffstats
path: root/t/lib-pack.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-09-04 11:01:53 +0200
committerJunio C Hamano <gitster@pobox.com>2013-09-04 19:52:01 +0200
commit16c159d75af29b1929af0e2f341d26fce4e1d546 (patch)
treebac26563bcc66426ea08d526208db5f068376c11 /t/lib-pack.sh
parenttest index-pack on packs with recoverable delta cycles (diff)
downloadgit-16c159d75af29b1929af0e2f341d26fce4e1d546.tar.xz
git-16c159d75af29b1929af0e2f341d26fce4e1d546.zip
t5308: check that index-pack --strict detects duplicate objects
Commit 68be2fea (receive-pack, fetch-pack: reject bogus pack that records objects twice, 2011-11-16) taught index-pack to notice and reject duplicate objects if --strict is given (which it is for incoming packs, if transfer.fsckObjects is set). However, it never tested the code, because we did not have an easy way of generating such a bogus pack. Now that we have test infrastructure to handle this, let's confirm that it works. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-pack.sh')
0 files changed, 0 insertions, 0 deletions