diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-11 01:48:33 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-11 01:48:33 +0300 |
commit | 466f94ec45e6170730f9dfaf7185a26f2e9fa8bf (patch) | |
tree | 94c611b389a658d7581175b8ac4407e6f6ac79fb /gettext.c | |
parent | 59ace284f33fe9928fcdb04b02044c921fd6905e (diff) | |
parent | 73c01d25fe254208befe099a659916d2bff5bbb4 (diff) |
Merge branch 'ab/detox-gettext-tests'
Get rid of "GETTEXT_POISON" support altogether, which may or may
not be controversial.
* ab/detox-gettext-tests:
tests: remove uses of GIT_TEST_GETTEXT_POISON=false
tests: remove support for GIT_TEST_GETTEXT_POISON
ci: remove GETTEXT_POISON jobs
Diffstat (limited to 'gettext.c')
-rw-r--r-- | gettext.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -65,14 +65,6 @@ const char *get_preferred_languages(void) return NULL; } -int use_gettext_poison(void) -{ - static int poison_requested = -1; - if (poison_requested == -1) - poison_requested = git_env_bool("GIT_TEST_GETTEXT_POISON", 0); - return poison_requested; -} - #ifndef NO_GETTEXT static int test_vsnprintf(const char *fmt, ...) { @@ -117,8 +109,6 @@ void git_setup_gettext(void) if (!podir) podir = p = system_path(GIT_LOCALE_PATH); - use_gettext_poison(); /* getenv() reentrancy paranoia */ - if (!is_directory(podir)) { free(p); return; |