git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 4/4] grep docs: document --no-index option

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 26, 2010, 05:13 UTC
Message-ID
<7vocjceg0y.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1267155613-22134-5-git-send-email-lodatom@gmail.com>
Mark Lodato <lodatom@gmail.com> writes:
> +--no-index::
> +	Search all files in the working tree, not just those tracked by git.

I gave a quick glance to all four patches. Everything other than this looked fine.

This one is meant to be usable outside git directory, and saying "the working tree" is misleading. The "work tree" is a technical term that specifically means the files in the directory hierarchy on the filesystem that correspond to the index entries that represent them.

It probably should say "the current directory" or something here.
Previous: Mark LodatoNext: Mark Lodato
Message 6 of 7 in “git-grep documentation updates”
  1. 0/4 git-grep documentation updatesMark Lodato, Feb 26, 2010
  2. 1/4 grep docs: pluralize "Example" sectionMark Lodato, Feb 26, 2010
  3. 2/4 grep docs: use AsciiDoc literals consistentlyMark Lodato, Feb 26, 2010
  4. 3/4 grep docs: --cached and <tree>... are incompatibleMark Lodato, Feb 26, 2010
  5. 4/4 grep docs: document --no-index optionMark Lodato, Feb 26, 2010
  6. Junio C HamanoFeb 26, 2010
  7. Mark LodatoFeb 26, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.