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