From: Junio C Hamano Date: Wed, 13 Jan 2010 06:56:10 GMT Subject: Re: [PATCH] grep: -L should show empty files Message-ID: <7vpr5esdbp.fsf@alter.siamese.dyndns.org> In-Reply-To: Sverre Rabbelier writes: > Heya, > > On Tue, Jan 12, 2010 at 09:32, Junio C Hamano 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 ;-)