Re: [PATCH] diff: document what --name-only shows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 7d73e976d9..0c456dfd0c 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -318,12 +318,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.

This new description sounds to me like it only shows files that exist in the to-commit, not any files that were deleted.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux