Re: [PATCHv2 7/7] git grep: honor textconv by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> 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 <blob>", "diff A B", and "grep <pattern> <blob>" would
all first mangle the blob contents using textconv and then work on
them.

But diff.<driver>.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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]