Revision 167a5800cb707ed489c3cb88174ee21e95a610ae authored by Junio C Hamano on 18 September 2011, 22:41:34 UTC, committed by Junio C Hamano on 18 September 2011, 22:41:34 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent c103e95
Raw File
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