From: Jonathan Nieder Date: Mon, 23 Jan 2012 22:12:56 GMT Subject: Re: [PATCH 2/2] add a Makefile switch to avoid gettext translation in shell scripts Message-ID: <20120123221256.GG20833@burratino> In-Reply-To: <7vr4yq6poy.fsf_-_@alter.siamese.dyndns.org> Junio C Hamano wrote: > make USE_GETTEXT_SCHEME=fallthrough > > This will replace the translation routines with fallthrough versions, > that does not use gettext from the platform. Nice implementation. I still don't understand why NO_GETTEXT=YesPlease should not imply this. Is it to ensure the GETTEXT_SCHEME=gnu mode gets more testing? Here's a patch to consider squashing in that makes the option take effect if it changes between builds. diff --git i/Makefile w/Makefile index 63dfd64d..b2b738bb 100644 --- i/Makefile +++ w/Makefile @@ -2268,7 +2268,7 @@ cscope: ### Detect prefix changes TRACK_CFLAGS = $(CC):$(subst ','\'',$(ALL_CFLAGS)):\ $(bindir_SQ):$(gitexecdir_SQ):$(template_dir_SQ):$(prefix_SQ):\ - $(localedir_SQ) + $(localedir_SQ):$(USE_GETTEXT_SCHEME) GIT-CFLAGS: FORCE @FLAGS='$(TRACK_CFLAGS)'; \