Staging
v0.5.1
Revision 15b7898c5e9fc6fed9a6064213cfcd08cf7d7314 authored by Junio C Hamano on 14 December 2011, 05:30:40 UTC, committed by Junio C Hamano on 14 December 2011, 05:32:30 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 52b195f
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