threads / discuss / 49381

Git 2.19 ignores default system language in Mac (2.18 or earlier did not)

Subject: Git 2.19 ignores default system language in Mac (2.18 or earlier did not)

## tl;dr

2 messages between Sep 19, 2018 and Sep 19, 2018.

replies: 1people: 2as markdown or json

Vasily Korytov· Sep 19, 2018, 14:18 UTC · lore
Hi,

$ locale LANG= LC_COLLATE="C" LC_CTYPE="UTF-8" LC_MESSAGES="C" LC_MONETARY="C" LC_NUMERIC="C" LC_TIME="C" LC_ALL= $ uname -mrs Darwin 16.7.0 x86_64 $ git --version git version 2.19.0

In Mac’s system preferences I have three languages: English (default), Russian, Ukrainian.

After update to Git 2.19 Git’s output suddenly appeared in Russian. I can use `export LANG=en_US.UTF-8` to switch it to English back, but it’s very weird.

Did not find any related things in changelog, so assuming this is a bug.
Elijah Newren· Sep 19, 2018, 15:39 UTC · re: Vasily Korytov · lore

Re: Git 2.19 ignores default system language in Mac (2.18 or earlier did not)

On Wed, Sep 19, 2018 at 7:24 AM Vasily Korytov <vasily.korytov@icloud.com> wrote:

Show 23 quoted lines
>
> Hi,
>
> $ locale
> LANG=
> LC_COLLATE="C"
> LC_CTYPE="UTF-8"
> LC_MESSAGES="C"
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_ALL=
> $ uname -mrs
> Darwin 16.7.0 x86_64
> $ git --version
> git version 2.19.0
>
> In Mac’s system preferences I have three languages: English (default), Russian, Ukrainian.
>
> After update to Git 2.19 Git’s output suddenly appeared in Russian.
> I can use `export LANG=en_US.UTF-8` to switch it to English back, but it’s very weird.
>
> Did not find any related things in changelog, so assuming this is a bug.

According to the thread at https://public-inbox.org/git/CAPig+cQWW9kibWYKu5oRDgo_Pt4wVmzkqzbTG=YGvwqRCXcNXw@mail.gmail.com/, this appears to be a bug in how brew changed its builds of git, and also affects packages besides git.

← back to recent threads