threads / patch / 13214

patchdiff options documentation: refer to --diff-filter in --name-status

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

## tl;dr

One message between Apr 22, 2008 and Apr 22, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Miklos Vajna· Apr 22, 2008, 12:23 UTC · lore

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(-)
Show changes to Documentation/diff-options.txt +2 −1
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

← back to recent threads