cat-file: do not die on --textconv without textconv filters
commit3ac21617b0f56dd76be3bbaa663bf0fff7f3095d
authorMichael J Gruber <git@drmicha.warpmail.net>
Fri, 10 May 2013 15:10:13 +0000 (10 17:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 May 2013 17:27:16 +0000 (10 10:27 -0700)
tree48d11779889306fce02c2bfc3acd5f5ddf603d94
parent083b99310978c6768d8e954c9bab1d3692a515a1
cat-file: do not die on --textconv without textconv filters

When a command is supposed to use textconv filters (by default or with
"--textconv") and none are configured then the blob is output without
conversion; the only exception to this rule is "cat-file --textconv".

Make it behave like the rest of textconv aware commands.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/cat-file.c
t/t8007-cat-file-textconv.sh