aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-02-10 14:48:33 -0800
committerJunio C Hamano <gitster@pobox.com>2021-02-10 14:48:33 -0800
commit466f94ec45e6170730f9dfaf7185a26f2e9fa8bf (patch)
tree94c611b389a658d7581175b8ac4407e6f6ac79fb /config.c
parent59ace284f33fe9928fcdb04b02044c921fd6905e (diff)
parent73c01d25fe254208befe099a659916d2bff5bbb4 (diff)
downloadgit-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.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/config.c b/config.c
index f5068231bd..b922b4f285 100644
--- a/config.c
+++ b/config.c
@@ -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));