diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-10-07 17:19:58 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-10-07 17:19:59 -0700 |
| commit | 410a0e520dcc91d13f77fd812f068161859883fc (patch) | |
| tree | 0e4e7529bb2c344bfccaef6396f5c71d2d04519f /gettext.c | |
| parent | 3dcec76d9df911ed8321007b1d197c1a206dc164 (diff) | |
| parent | 1819ad327b7a1f19540a819813b70a0e8a7f798f (diff) | |
| download | git-410a0e520dcc91d13f77fd812f068161859883fc.tar.gz | |
Merge branch 'ds/use-platform-regex-on-macos'
With a bit of header twiddling, use the native regexp library on
macOS instead of the compat/ one.
* ds/use-platform-regex-on-macos:
grep: fix multibyte regex handling under macOS
Diffstat (limited to 'gettext.c')
| -rw-r--r-- | gettext.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -10,7 +10,6 @@ #include "config.h" #ifndef NO_GETTEXT -# include <locale.h> # include <libintl.h> # ifdef GIT_WINDOWS_NATIVE @@ -80,7 +79,6 @@ static int test_vsnprintf(const char *fmt, ...) static void init_gettext_charset(const char *domain) { - setlocale(LC_CTYPE, ""); charset = locale_charset(); bind_textdomain_codeset(domain, charset); |
