From: Nathan Faulkner <natedogith1@gmail.com>
To: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] diff: document what --name-only shows
Date: Sat, 18 May 2024 15:10:01 -0400 [thread overview]
Message-ID: <4c4049e9-f5fa-41c3-8a6a-df4fca2f07f1@gmail.com> (raw)
In-Reply-To: <xmqqeda0jr7d.fsf@gitster.g>
> 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.
next prev parent reply other threads:[~2024-05-18 19:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 17:14 [PATCH] diff: document what --name-only shows Junio C Hamano
2024-05-18 19:10 ` Nathan Faulkner [this message]
2024-05-22 1:35 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4c4049e9-f5fa-41c3-8a6a-df4fca2f07f1@gmail.com \
--to=natedogith1@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).