Alex Riesen [off-list ref] writes:
Some systems have gettext.sh (GNU gettext) installed, but it is either broken
or misconfigured in such a way so its output is not usable.
For instance, on this particular system, a Cygwin installations gettext
produces no output whatsoever.
In case the users of these systems are unable or not interested in fixing
them, setting the new Makefile switch should help:
USE_FALLTHROUGH_GETTEXT_SCHEME=yes
This will replace the translation routines with fallthrough versions, which
currently used only for regression testing.
Signed-off-by: Alex Riesen <redacted>
---
I'll split this into two, the first one only to restructure the code and
the guts of this one that avoids the autodetection.
Also I'd rename this so that:
$ make USE_GETTEXT_SCHEME=fallthrough
$ make USE_GETTEXT_SCHEME=gnu
could be used to avoid extra and unnecessary runtime overhead when the
person building git knows what is on the system.