Staging
v0.5.1
https://github.com/git/git
Raw File
Tip revision: 2f312e8851035a85f431911075383265f1519c04 authored by Junio C Hamano on 04 May 2011, 22:47:40 UTC
Git 1.7.5.1
Tip revision: 2f312e8
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