From: Junio C Hamano <gitster@pobox.com>
To: Jeremy O'Brien <obrien654j@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git grep -I bug
Date: Mon, 02 Feb 2009 20:30:43 -0800 [thread overview]
Message-ID: <7v1vugf8gc.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: 20090202182601.GA173@Ambelina.local
Jeremy O'Brien <obrien654j@gmail.com> writes:
> On Mon, Feb 02, 2009 at 09:54:31AM -0800, Junio C Hamano wrote:
>> Jeremy O'Brien <obrien654j@gmail.com> 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.
Perhaps your Mac OSX binary was built without external grep support.
Did the patch fix the issue, by the way?
next prev parent reply other threads:[~2009-02-03 4:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 17:42 git grep -I bug Jeremy O'Brien
2009-02-02 17:54 ` Junio C Hamano
2009-02-02 18:26 ` Jeremy O'Brien
2009-02-03 4:30 ` Junio C Hamano [this message]
2009-02-03 19:42 ` Jeremy O'Brien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7v1vugf8gc.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=obrien654j@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).