git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Andrey Bienkowski via GitGitGadgetNext: Andrey Bienkowski via GitGitGadget
Message 2 of 3 in “doc: clarify the filename encoding in git diff”
  1. doc: clarify the filename encoding in git diffAndrey Bienkowski via GitGitGadget, Apr 19, 2021
  2. Junio C HamanoApr 19, 2021
  3. doc: clarify the filename encoding in git diffAndrey Bienkowski via GitGitGadget, Apr 20, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.