Re: [PATCHv2 7/7] git grep: honor textconv by default
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 24, 2013, 18:55 UTC
- Message-ID
- <7v38ufdaih.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <vpqwqrrolpl.fsf@grenoble-inp.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 6 quoted lines
> Grepping through the binary, on the other hand, can very well make > sense, like: > > $ git grep foo > file.txt: some instance of foo > binary file bar.bin matches
Yes,
I am moderately negative on making it the default, mostly because it goes against established expectations, but I did not mean to say that an ability to pass blob contents through textconv before running grep should not exist. It would be a good option to have.