Makefile: ease dynamic-gettext-poison transition

Earlier we made the entire build to fail when GETTEXT_POISON=Yes is given to make, to notify those who did not notice that text poisoning is now a runtime behaviour. It turns out that this is too irritating for those who need to build and test different versions of Git that cross the boundary between history with and without this topic to switch between two environment variables. Demote the error to a warning, so that you can say something like make GETTEXT_POISON=Yes GIT_TEST_GETTEXT_POISON=Yes test during the transition period, without having to worry about whether exact version you are testing has or does not have this topic. Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Nov 8, 2018 at 21:15 UTC c6a9a30e6a01b4d5329d796b800ab0917b963b20
1 file changed +1 -1
Makefile
+1 -1
@@ -1447,7 +1447,7 @@ ifdef NO_SYMLINK_HEAD
1447 BASIC_CFLAGS += -DNO_SYMLINK_HEAD
1448 endif
1449 ifdef GETTEXT_POISON
1450 -$(error The GETTEXT_POISON option has been removed in favor of runtime GIT_TEST_GETTEXT_POISON. See t/README!)
1450 +$(warning The GETTEXT_POISON option has been removed in favor of runtime GIT_TEST_GETTEXT_POISON. See t/README!)
1451 endif
1452 ifdef NO_GETTEXT
1453 BASIC_CFLAGS += -DNO_GETTEXT