https://github.com/git/git
Raw File
Tip revision: 4cb6764227173a6483edbdad09121651bc0b01c3 authored by Junio C Hamano on 08 November 2011, 00:48:34 UTC
Git 1.7.8-rc1
Tip revision: 4cb6764
gettext.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;
}
back to top