mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
15 lines
290 B
C
15 lines
290 B
C
|
/*
|
||
|
* Copyright (c) 2010 Ævar Arnfjörð Bjarmason
|
||
|
*/
|
||
|
|
||
|
#include "git-compat-util.h"
|
||
|
#include "gettext.h"
|
||
|
|
||
|
int use_gettext_poison(void)
|
||
|
{
|
||
|
static int poison_requested = -1;
|
||
|
if (poison_requested == -1)
|
||
|
poison_requested = getenv("GIT_GETTEXT_POISON") ? 1 : 0;
|
||
|
return poison_requested;
|
||
|
}
|