1 /*
2 * Copyright (c) 2010 Ævar Arnfjörð Bjarmason
3 */
5 #include "git-compat-util.h"
6 #include "gettext.h"
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 }