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

[PATCH 2/3] Documentation: Add --line-number to git-grep synopsis

From
Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Date
May 3, 2011, 21:35 UTC
Message-ID
<1304458557-25629-2-git-send-email-michal.kiedrowicz@gmail.com>
In-Reply-To
<1304458557-25629-1-git-send-email-michal.kiedrowicz@gmail.com>
---
 Documentation/git-grep.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt
index d7523b3..4a58378 100644
--- a/Documentation/git-grep.txt
+++ b/Documentation/git-grep.txt
@@ -12,7 +12,7 @@ SYNOPSIS
 'git grep' [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
 	   [-v | --invert-match] [-h|-H] [--full-name]
 	   [-E | --extended-regexp] [-G | --basic-regexp]
-	   [-F | --fixed-strings] [-n]
+	   [-F | --fixed-strings] [-n | --line-number]
 	   [-l | --files-with-matches] [-L | --files-without-match]
 	   [(-O | --open-files-in-pager) [<pager>]]
 	   [-z | --null]
-- 
1.7.3.4
Previous: Michał KiedrowiczNext: Michał Kiedrowicz
Message 2 of 6 in “grep: Put calls to fixmatch() and regmatch() into patmatch()”
  1. 1/3 grep: Put calls to fixmatch() and regmatch() into patmatch()Michał Kiedrowicz, May 3, 2011
  2. 2/3 Documentation: Add --line-number to git-grep synopsisMichał Kiedrowicz, May 3, 2011
  3. 3/3 git-grep: Learn PCREMichał Kiedrowicz, May 3, 2011
  4. Junio C HamanoMay 3, 2011
  5. Michal KiedrowiczMay 4, 2011
  6. Martin LanghoffMay 3, 2011

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.