Staging
v0.5.1
https://github.com/git/git
Revision 865d370c4daf21e3d6dd48708fc4b716b63d795c authored by Junio C Hamano on 13 April 2011, 21:01:03 UTC, committed by Junio C Hamano on 13 April 2011, 21:02:00 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6c4c9bd
Raw File
Tip revision: 865d370c4daf21e3d6dd48708fc4b716b63d795c authored by Junio C Hamano on 13 April 2011, 21:01:03 UTC
Git 1.7.5-rc2
Tip revision: 865d370
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