Re: Is there some env variable like GIT_LANG (like LANG)?
- From
- Dirk Süsserott <newsletter@dirk.my1.cc>
- Date
- Mar 21, 2011, 20:36 UTC
- Message-ID
- <4D87B6D4.3040601@dirk.my1.cc>
- In-Reply-To
- <AANLkTikXsYONY5rUSF5138bQ=R4gCopOO8fu=3np+c98@mail.gmail.com>
Am 21.03.2011 21:30 schrieb Lasse Makholm:
Show 23 quoted lines
> 2011/3/21 Dirk Süsserott<newsletter@dirk.my1.cc>:
>> 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 "$@"
> }
>Hmm. Looks interesting. I'll try it out. I'm not so shell'ish (more perl'ish) but I expect that to "rename"/"alias" git to the given command. If it works, it's great. Thank you.