Skip to content

Commit a6f47b2

Browse files
Miklos Vajnagitster
authored andcommitted
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. Signed-off-by: Miklos Vajna <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9231f50 commit a6f47b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/diff-options.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ endif::git-format-patch[]
7575
Show only names of changed files.
7676

7777
--name-status::
78-
Show only names and status of changed files.
78+
Show only names and status of changed files. See the description
79+
of the `--diff-filter` option on what the status letters mean.
7980

8081
--color::
8182
Show colored diff.

0 commit comments

Comments
 (0)