git-check-attr: Fix command-line handling to match docs
[alt-git.git] / gettext.c
blobae5394a49672b6c7fa6c5c69766aa4e80c187c5f
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)
10 static int poison_requested = -1;
11 if (poison_requested == -1)
12 poison_requested = getenv("GIT_GETTEXT_POISON") ? 1 : 0;
13 return poison_requested;