git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dirk Süsserott" <newsletter@dirk.my1.cc>
To: Lasse Makholm <lasse.makholm@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: Is there some env variable like GIT_LANG (like LANG)?
Date: Mon, 21 Mar 2011 21:36:36 +0100	[thread overview]
Message-ID: <4D87B6D4.3040601@dirk.my1.cc> (raw)
In-Reply-To: <AANLkTikXsYONY5rUSF5138bQ=R4gCopOO8fu=3np+c98@mail.gmail.com>

Am 21.03.2011 21:30 schrieb Lasse Makholm:
> 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.

  reply	other threads:[~2011-03-21 20:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21 18:50 Is there some env variable like GIT_LANG (like LANG)? Dirk Süsserott
2011-03-21 19:43 ` Junio C Hamano
2011-03-21 19:48   ` Dirk Süsserott
2011-03-21 20:30     ` Lasse Makholm
2011-03-21 20:36       ` Dirk Süsserott [this message]
2011-03-21 20:48         ` Lasse Makholm
2011-03-22 19:30           ` Dirk Süsserott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D87B6D4.3040601@dirk.my1.cc \
    --to=newsletter@dirk.my1.cc \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=lasse.makholm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).