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

Re: Is there some env variable like GIT_LANG (like LANG)?

From
Lasse Makholm <lasse.makholm@gmail.com>
Date
Mar 21, 2011, 20:30 UTC
Message-ID
<AANLkTikXsYONY5rUSF5138bQ=R4gCopOO8fu=3np+c98@mail.gmail.com>
In-Reply-To
<4D87ABA5.1030609@dirk.my1.cc>
2011/3/21 Dirk Süsserott <newsletter@dirk.my1.cc>:
Show 14 quoted lines
> Am 21.03.2011 20:43 schrieb Junio C Hamano:
>>
>> Dirk Süsserott<newsletter@dirk.my1.cc>  writes:
>>
>>> What would you think of it?
>>
>> Strongly negative.  I don't want force people to set GIT_LANG HG_LANG
>> CVS_LANG and 47 different FROTZ_LANG environment variables.
>>
>> I would rather just set LANG=C LC_ALL=C in the terminal I use git in and
>> leave everything else in whatever locale the rest of the system is in.
>>
>
> Ok. Accepted. Was just a question. I see your point.
Alternatively, you might like something like the following in your .bashrc:
function git
{
    LANG=C command git "$@"
}
-- 
/Lasse
Previous: Dirk SüsserottNext: Dirk Süsserott
Message 4 of 7 in “Is there some env variable like GIT_LANG (like LANG)?”
  1. Dirk SüsserottMar 21, 2011
  2. Junio C HamanoMar 21, 2011
  3. Dirk SüsserottMar 21, 2011
  4. Lasse MakholmMar 21, 2011
  5. Dirk SüsserottMar 21, 2011
  6. Lasse MakholmMar 21, 2011
  7. Dirk SüsserottMar 22, 2011

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.