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

Subject: Encoding of git diff --name-only stdout

From
Andrey Bienkowski <hexagonrecursion@gmail.com>
Date
Apr 6, 2021, 12:20 UTC
Message-ID
<CAAunPhfjUSO0Po4sO7Hwxjq7_p0ke7VOD=XRizG1Fqkzymcgmg@mail.gmail.com>

Hi. I want to parse the output of git diff --name-only and git diff --name-status, but the documentation https://git-scm.com/docs/git-diff does not say what encoding it is in. Is it always utf8 on all platforms? If not is there a flag to make it so? Once I get an answer to this question I'll submit a PR to add the missing documentation. -- Andrey Bienkowski

Next: Jeff King
Message 1 of 2 in “Subject: Encoding of git diff --name-only stdout”
  1. Andrey BienkowskiApr 6, 2021
  2. Jeff KingApr 6, 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.