Skip to content

Commit 3d95282

Browse files
committed
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
2 parents 62627a3 + de985d6 commit 3d95282

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

help.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,9 @@ void get_version_info(struct strbuf *buf, int show_build_options)
799799

800800
if (fsmonitor_ipc__is_supported())
801801
strbuf_addstr(buf, "feature: fsmonitor--daemon\n");
802+
#if !defined NO_GETTEXT
803+
strbuf_addstr(buf, "gettext: enabled\n");
804+
#endif
802805
#if defined LIBCURL_VERSION
803806
strbuf_addf(buf, "libcurl: %s\n", LIBCURL_VERSION);
804807
#endif

0 commit comments

Comments
 (0)