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

[PATCH] diff options documentation: refer to --diff-filter in --name-status

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Apr 22, 2008, 12:23 UTC
Message-ID
<20080422122348.GD22086@genesis.frugalware.org>

git diff --name-status outputs letters, but the meaning of those letters is documented elsewhere. Add a note to make the manpage more intuitive.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
 Documentation/diff-options.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 01e7a57..13234fa 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -83,7 +83,8 @@ endif::git-format-patch[]
 	Show only names of changed files.
 
 --name-status::
-	Show only names and status of changed files.
+	Show only names and status of changed files. See the description
+	of the `--diff-filter` option on what the status letters mean.
 
 --color::
 	Show colored diff.
-- 
1.5.5
Message 1 of 1 in “diff options documentation: refer to --diff-filter in --name-status”
  1. diff options documentation: refer to --diff-filter in --name-statusMiklos Vajna, Apr 22, 2008

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.