From: Antoine Pelisse <apelisse@gmail.com>
To: Nazri Ramliy <ayiehere@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: "git grep --no-index" doesn't do what it says on the tin?
Date: Wed, 15 May 2013 08:54:02 +0200 [thread overview]
Message-ID: <CALWbr2wq7QtTXp=tDn27g6_XQjou9FfCvPkXHxmxqws4nTUwxA@mail.gmail.com> (raw)
In-Reply-To: <CAEY4ZpP8txhCCmw-Ck7_rQL+Xn4bJw-RgVa7iDaHzQ6mcS5oLQ@mail.gmail.com>
On Wed, May 15, 2013 at 7:32 AM, Nazri Ramliy <ayiehere@gmail.com> wrote:
> Hi,
>
> From "git help grep":
>
> --no-index
> Search files in the current directory that is not managed by Git.
>
> --untracked
> In addition to searching in the tracked files in the working tree,
> search also in untracked files.
The difference is in the "not managed by Git". Inside a repository,
they will do the same thing. But only the first can work outside a
repository.
Cheers,
Antoine
prev parent reply other threads:[~2013-05-15 6:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 5:32 "git grep --no-index" doesn't do what it says on the tin? Nazri Ramliy
2013-05-15 6:54 ` Antoine Pelisse [this message]
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='CALWbr2wq7QtTXp=tDn27g6_XQjou9FfCvPkXHxmxqws4nTUwxA@mail.gmail.com' \
--to=apelisse@gmail.com \
--cc=ayiehere@gmail.com \
--cc=git@vger.kernel.org \
/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).