Staging
v0.5.1
https://github.com/git/git
Revision 406da7803217998ff6bf5dc69c55b1613556c2f4 authored by Junio C Hamano on 02 December 2011, 17:31:32 UTC, committed by Junio C Hamano on 02 December 2011, 18:02:52 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent fc14b89
Raw File
Tip revision: 406da7803217998ff6bf5dc69c55b1613556c2f4 authored by Junio C Hamano on 02 December 2011, 17:31:32 UTC
Git 1.7.8
Tip revision: 406da78
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