aboutsummaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-01-23 13:34:36 -0800
committerJunio C Hamano <gitster@pobox.com>2026-01-23 13:34:36 -0800
commit3d952821298f8f0e6491745a978baec6a2bb0895 (patch)
tree0343bd230b362df646fdc4a2ef1e359a078f69b2 /help.c
parent62627a3484d82cfd0f428879bb6dac56094413a3 (diff)
parentde985d69f66960cb512b38f2e7bc83d2a92d391e (diff)
downloadgit-3d952821298f8f0e6491745a978baec6a2bb0895.tar.xz
Merge branch 'jx/build-options-gettext'
"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
Diffstat (limited to 'help.c')
-rw-r--r--help.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/help.c b/help.c
index 20e114432d..3c36d9c218 100644
--- a/help.c
+++ b/help.c
@@ -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