diff options
author | Jeff King <peff@peff.net> | 2013-09-04 05:01:53 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-04 10:52:01 -0700 |
commit | 16c159d75af29b1929af0e2f341d26fce4e1d546 (patch) | |
tree | bac26563bcc66426ea08d526208db5f068376c11 /po | |
parent | test index-pack on packs with recoverable delta cycles (diff) | |
download | tgif-16c159d75af29b1929af0e2f341d26fce4e1d546.tar.xz |
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 'po')
0 files changed, 0 insertions, 0 deletions