mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
Merge branch 'jc/doc-diff-name-only' into maint-2.45
The documentation for "git diff --name-only" has been clarified that it is about showing the names in the post-image tree. * jc/doc-diff-name-only: diff: document what --name-only shows
This commit is contained in:
commit
0d56a5946a
1 changed files with 3 additions and 2 deletions
|
@ -329,12 +329,13 @@ explained for the configuration variable `core.quotePath` (see
|
|||
linkgit:git-config[1]).
|
||||
|
||||
--name-only::
|
||||
Show only names of changed files. The file names are often encoded in UTF-8.
|
||||
Show only the name of each changed file in the post-image tree.
|
||||
The file names are often encoded in UTF-8.
|
||||
For more information see the discussion about encoding in the linkgit:git-log[1]
|
||||
manual page.
|
||||
|
||||
--name-status::
|
||||
Show only names and status of changed files. See the description
|
||||
Show only the name(s) and status of each changed file. See the description
|
||||
of the `--diff-filter` option on what the status letters mean.
|
||||
Just like `--name-only` the file names are often encoded in UTF-8.
|
||||
|
||||
|
|
Loading…
Reference in a new issue