]> git.ipfire.org Git - thirdparty/git.git/commit
help: report on whether or not gettext is enabled
authorJiang Xin <zhiyou.jx@alibaba-inc.com>
Sat, 17 Jan 2026 13:59:38 +0000 (21:59 +0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Jan 2026 17:57:59 +0000 (09:57 -0800)
commitde985d69f66960cb512b38f2e7bc83d2a92d391e
tree71ffbdd92421d8dd1eafbc4d148a8f5b59d2e78b
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed
help: report on whether or not gettext is enabled

When users report that Git has no localized output, we need to check not
only their locale settings, but also whether Git was built with GETTEXT
support in the first place.

Expose this information via the existing build info output by adding a
"gettext: enabled" line to `git version --build-options` (and therefore
also to `git bugreport`) when `NO_GETTEXT` is not defined at build time.

Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c