show: honor --textconv for blobs
commit083b99310978c6768d8e954c9bab1d3692a515a1
authorMichael J Gruber <git@drmicha.warpmail.net>
Fri, 10 May 2013 15:10:12 +0000 (10 17:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 May 2013 17:25:43 +0000 (10 10:25 -0700)
tree3110a383e2721ef774763d66afae479589a5ac77
parent6c374008b1a4e3b66469168aace47003e9771e2d
show: honor --textconv for blobs

Currently, "diff" and "cat-file" for blobs honor "--textconv" options
(with the former defaulting to "--textconv" and the latter to
"--no-textconv") whereas "show" does not honor this option, even though
it takes diff options.

Make "show" on blobs honor "--textconv" when it is asked.  The default
is not to apply textconv, which is in line with what "cat-file" does.

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