From: Jeremy O'Brien Date: Mon, 02 Feb 2009 18:26:01 GMT Subject: Re: git grep -I bug Message-ID: <20090202182601.GA173@Ambelina.local> In-Reply-To: <7vwsc8hgh4.fsf@gitster.siamese.dyndns.org> On Mon, Feb 02, 2009 at 09:54:31AM -0800, Junio C Hamano wrote: > Jeremy O'Brien writes: > > > I am running git version 1.6.1.2.309.g2ea3. > > > > When I use > > > > git grep -I "string_to_match" > > > > to ignore binary files in my grep, binary files are returned anyway. > > One sanity check. What does 'git grep --cached -I "string_to_match"' do > in that case? > It works as expected. It is interesting that while my Linux install was affected by this bug, my Mac OS X install did not seem to be affected by it, while running the same version of git.