Revision 55dcc2ebad1b3ed4a6912f6f401f63cd3c71026f authored by Junio C Hamano on 10 January 2012, 22:24:01 UTC, committed by Junio C Hamano on 10 January 2012, 22:24:01 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2 parent s 829a1c6 + 804e97f
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