Re: [PATCH] doc: clarify the filename encoding in git diff
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 19, 2021, 21:33 UTC
- Message-ID
- <xmqqwnsy7ydd.fsf@gitster.g>
- In-Reply-To
- <pull.996.git.git.1618838856399.gitgitgadget@gmail.com>
"Andrey Bienkowski via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 6 quoted lines
> Signed-off-by: Andrey Bienkowski <hexagonrecursion@gmail.com> > --- > My takeaway was to always parse it as utf8 regardless of platform or > environment. > > Changes since v1:
I do not think the readers on the list have seen the "v1", but anyway, the
> * Replace "always" with "often"
"often" here sound more measured than ...
Show 5 quoted lines
> --name-only:: > - Show only names of changed files. > + Show only names of changed files. The file names are usually encoded in UTF-8. > + For more information see the discussion about encoding in the linkgit:git-log[1] > + manual page.
... "usually" here ...
> --name-status:: > Show only names and status of changed files. See the description > of the `--diff-filter` option on what the status letters mean. > + Just like `--name-only` the file names are usually encoded in UTF-8.
... and here.
Thanks.