t5316: check behavior of pack-objects --depth=0
authorJeff King <peff@peff.net>
Sat, 1 May 2021 14:04:00 +0000 (10:04 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 May 2021 05:29:56 +0000 (14:29 +0900)
commit49ac1d33bbd9d4be4ad8cb9730a07c086f688a5b
tree20a53d65a9474ac01b3a9e20479dac70392939af
parent953aa54e1a6a7571d48eddea3ee68745bf94e69d
t5316: check behavior of pack-objects --depth=0

We'd expect this to cleanly produce no deltas at all (as opposed to
getting confused by an out-of-bounds value), and it does.

Note we have to adjust our max_chain test helper, which expected to find
at least one delta.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5316-pack-delta-depth.sh