diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-10 14:48:33 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-10 14:48:33 -0800 |
commit | 466f94ec45e6170730f9dfaf7185a26f2e9fa8bf (patch) | |
tree | 94c611b389a658d7581175b8ac4407e6f6ac79fb /config.c | |
parent | 59ace284f33fe9928fcdb04b02044c921fd6905e (diff) | |
parent | 73c01d25fe254208befe099a659916d2bff5bbb4 (diff) | |
download | git-466f94ec45e6170730f9dfaf7185a26f2e9fa8bf.tar.gz |
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 'config.c')
-rw-r--r-- | config.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -1155,15 +1155,6 @@ static void die_bad_number(const char *name, const char *value) if (!value) value = ""; - if (!strcmp(name, "GIT_TEST_GETTEXT_POISON")) - /* - * We explicitly *don't* use _() here since it would - * cause an infinite loop with _() needing to call - * use_gettext_poison(). This is why marked up - * translations with N_() above. - */ - die(bad_numeric, value, name, error_type); - if (!(cf && cf->name)) die(_(bad_numeric), value, name, _(error_type)); |