diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-06-28 15:53:14 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-28 15:53:14 -0700 |
| commit | 0d56a5946afea7a9684cb5ba821f7c57a1b0d443 (patch) | |
| tree | 608252098ff3333e3a17cc2570688d1df091e5bb | |
| parent | db9d38d9bbde9150829290c67155823f798422f4 (diff) | |
| parent | 4986662cbc2c366d1db9207ff53dfc0d01f8b4dd (diff) | |
| download | git-0d56a5946afea7a9684cb5ba821f7c57a1b0d443.tar.xz | |
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
| -rw-r--r-- | Documentation/diff-options.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 0e9456957e..c7df20e571 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -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. |
