Thread (1 message) 1 message, 1 author, 2021-04-19

Re: [PATCH] doc: clarify the filename encoding in git diff

From: Junio C Hamano <hidden>
Date: 2021-04-19 21:33:57

"Andrey Bienkowski via GitGitGadget" [off-list ref]
writes:
Signed-off-by: Andrey Bienkowski <redacted>
---
    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 ...
 --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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help