git-sh-i18n.sh: add GIT_GETTEXT_POISON support
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 14 May 2011 13:47:44 +0000 (13:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 15 May 2011 03:29:11 +0000 (20:29 -0700)
commit64a42951471b03c0e25f9e632973e17e2cc2a758
treeb3055f0ae6e121d20f0879b09f807d999e7d613a
parente00cf070a45351e4170b75e016597695d1962a87
git-sh-i18n.sh: add GIT_GETTEXT_POISON support

Change git-sh-i18n.sh to support the GIT_GETTEXT_POISON environment
variable like gettext.c does, this ensures that tests that use
git-sh-i18n.sh will fail under GETTEXT_POISON=YesPlease if they rely
on Git's C locale messages without declaring that they do.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-sh-i18n.sh