Merge branch 'jx/build-options-gettext' into jch

"git bugreport" and "git version --build-options" learned to
include use of 'gettext' feature, to make it easier to diagnose
problems around l10n.

* jx/build-options-gettext:
  help: report on whether or not gettext is enabled
This commit is contained in:
Junio C Hamano 2026-01-19 16:44:22 -08:00
commit 45e71a66ef

3
help.c
View File

@ -799,6 +799,9 @@ void get_version_info(struct strbuf *buf, int show_build_options)
if (fsmonitor_ipc__is_supported())
strbuf_addstr(buf, "feature: fsmonitor--daemon\n");
#if !defined NO_GETTEXT
strbuf_addstr(buf, "gettext: enabled\n");
#endif
#if defined LIBCURL_VERSION
strbuf_addf(buf, "libcurl: %s\n", LIBCURL_VERSION);
#endif