git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git grep --no-index and absolute paths don't work?
@ 2011-10-21  6:34 Bert Wesarg
  2011-10-21  7:09 ` Carlos Martín Nieto
  2011-10-21 17:00 ` Junio C Hamano
  0 siblings, 2 replies; 6+ messages in thread
From: Bert Wesarg @ 2011-10-21  6:34 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Git Mailing List

Hi,

I'm currently  totally confused, that a

    git grep --no-index foo /usr/include

does not work. I know that the documentation says "in the current
directory" for the --no-index flag. But this does not work ether:

    cd ~; git grep --no-index foo ~/.bashrc

They all fail with 'is outside repository'. Which is for itself vary
misleading, because I intentionally said --no-index.

Any input is appreciate.

Thanks.

Bert

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-21 17:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21  6:34 git grep --no-index and absolute paths don't work? Bert Wesarg
2011-10-21  7:09 ` Carlos Martín Nieto
2011-10-21 11:49   ` Lars Noschinski
2011-10-21 12:44     ` Bert Wesarg
2011-10-21 17:00 ` Junio C Hamano
2011-10-21 17:35   ` Bert Wesarg

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).