Re: [PATCH v10 0/4] cat-file: add support for "-allow-unknown-type"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 4, 2015, 00:10 UTC
- Message-ID
- <xmqqzj5ltd6c.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <55463094.9040204@gmail.com>
Hmmmm... you do not seem to pass your own test.
expecting success:
echo $bogus_type >expect &&
git cat-file -t --allow-unknown-type $bogus_sha1 >actual &&
test_cmp expect actual--- expect 2015-05-04 00:09:24.327335512 +0000 +++ actual 2015-05-04 00:09:24.335335473 +0000
@@ -1 +1 @@ -abcdefghijklmnopqrstuvwxyz1234679 +abcdefghijklmnopqrstuvwxyz123467abcdefghijklmnopqrstuvwxyz1234679 not ok 86 - Type of broken object is correct when type is large