]> git.ipfire.org Git - thirdparty/git.git/commit
cat-file tests: test for current --allow-unknown-type behavior
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 1 Oct 2021 09:16:44 +0000 (11:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Oct 2021 22:06:00 +0000 (15:06 -0700)
commitdd45a5624608d353b706cb54ebdf60ef154dbbe5
treeb143a00b46d050bd10a5951cb579620ac0a25130
parent7e7d220d9d0f357388923d0fe4a7e3f898858adb
cat-file tests: test for current --allow-unknown-type behavior

Add more tests for the current --allow-unknown-type behavior. As noted
in [1] I don't think much of this makes sense, but let's test for it
as-is so we can see if the behavior changes in the future.

1. https://lore.kernel.org/git/87r1i4qf4h.fsf@evledraar.gmail.com/

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1006-cat-file.sh