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: Tue, 22 Mar 2011 20:30:55 +0100	[thread overview]
Message-ID: <4D88F8EF.8020609@dirk.my1.cc> (raw)
In-Reply-To: <AANLkTi=wwFw09QkrttvxvuEoHyuQ+61wa0YMysDQC05D@mail.gmail.com>

Am 21.03.2011 21:48 schrieb Lasse Makholm:
>>>
>>> Alternatively, you might like something like the following in your
>>> .bashrc:
>>>
>>> function git
>>> {
>>>      LANG=C command git "$@"
>>> }
>>>
>
> Just make sure you include the "command" part or the function will
> call itself indefinitely...
>

That would be like my favourite forkbomb: ":(){ :|:& };:"
WARNING: Don't type that in the shell! The system hangs
immediately, even if it looks like only smileys.

Thanks a lot. It does exactly what I want. And it's a good
trick for other applications as well.

      reply	other threads:[~2011-03-22 19:31 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
2011-03-21 20:48         ` Lasse Makholm
2011-03-22 19:30           ` Dirk Süsserott [this message]

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=4D88F8EF.8020609@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).