Skip to contentSkip to conversation

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

PATCH New Miklos Vajna 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 diff options documentation: refer to --diff-filter in --name-status

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

---
 Documentation/diff-options.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Documentation/diff-options.txt +2 -1
index 01e7a57..13234fa 100644
@@ -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.
Signature · 1 line
1.5.5