Re: [PATCH 10/13] hash-object: stop allowing unknown types
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> We will retain the --literally flag, as it also instructs hash-object
> not to worry about other format issues (e.g., type-specific things that
> fsck would complain about). The documentation does not need to be
> updated, as it was always vague about which checks we're loosening (it
> uses only the phrase "any garbage").
> +test_expect_success '--literally complains about non-standard types' '
> + test_must_fail git hash-object -t bogus --literally --stdin
> '
Yup, we obviously want to fail this now.