From: Junio C Hamano Date: Wed, 24 Apr 2013 17:35:38 GMT Subject: Re: [PATCHv2 7/7] git grep: honor textconv by default Message-ID: <7vehdzesr9.fsf@alter.siamese.dyndns.org> In-Reply-To: <5177AE7F.1040400@drmicha.warpmail.net> Michael J Gruber writes: > My point is that we apply textconv on "log diff greps" already, so why > should't we on content greps? I think you are going in circles. If you start from "textconv is about mangling blob contents", then it would look natural to you that "show ", "diff A B", and "grep " would all first mangle the blob contents using textconv and then work on them. But diff..textconv is to mangle blob contents in preparation for comparing with another. That is why you explicitly ask "cat-file --textconv" to use the same mangling even when you are not comparing it with anything else.