Re: [PATCH] grep: -L should show empty files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 13, 2010, 06:56 UTC
- Message-ID
- <7vpr5esdbp.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <fabb9a1e1001121327s392f7311t2a7f11081ed70ff8@mail.gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> writes:
Show 8 quoted lines
> Heya, > > On Tue, Jan 12, 2010 at 09:32, Junio C Hamano <gitster@pobox.com> wrote: >> This optimization doesn't matter too much in practice (a tracked empty >> file must be rare, or there is something wrong with your project); > > How about python projects, where there's an __init__.py file > everywhere you turn your head? ;)
It's Ok as the price we pay for producing correct result is to open those empty files, read them, and look for matches which we will never find ;-)