FIXME: hotpatch for compatibility with latest hg
[git] / gettext.c
1 /*
2  * Copyright (c) 2010 Ævar Arnfjörð Bjarmason
3  */
4
5 #include "git-compat-util.h"
6 #include "gettext.h"
7
8 int use_gettext_poison(void)
9 {
10         static int poison_requested = -1;
11         if (poison_requested == -1)
12                 poison_requested = getenv("GIT_GETTEXT_POISON") ? 1 : 0;
13         return poison_requested;
14 }