Staging
v0.5.1
https://github.com/git/git
Revision 6acef043581d69597860f3343ec2691c72b0803c authored by Junio C Hamano on 31 March 2011, 20:58:16 UTC, committed by Junio C Hamano on 31 March 2011, 20:58:47 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent bcef9b6
Raw File
Tip revision: 6acef043581d69597860f3343ec2691c72b0803c authored by Junio C Hamano on 31 March 2011, 20:58:16 UTC
Git 1.7.5-rc0
Tip revision: 6acef04
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