LC_ALL gets overridden by LANGUAGE environment variable, breaking the parsing of git output. See gettext manual. Notice that LC_ALL=C is not overridden, but other locales are, including C.UTF-8.
The solution clears LANGUAGE. Alternatively, LC_ALL could be changed to LC_ALL=C. As a workaround, the same effect can be achieved by adding
LC_ALL
gets overridden byLANGUAGE
environment variable, breaking the parsing of git output. See gettext manual. Notice thatLC_ALL=C
is not overridden, but other locales are, includingC.UTF-8
.The solution clears
LANGUAGE
. Alternatively,LC_ALL
could be changed toLC_ALL=C
. As a workaround, the same effect can be achieved by addingto the configuration file (
.cargo/config.toml
).