aboutsummaryrefslogtreecommitdiffstats
path: root/common-main.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-10-07 17:19:58 -0700
committerJunio C Hamano <gitster@pobox.com>2022-10-07 17:19:59 -0700
commit410a0e520dcc91d13f77fd812f068161859883fc (patch)
tree0e4e7529bb2c344bfccaef6396f5c71d2d04519f /common-main.c
parent3dcec76d9df911ed8321007b1d197c1a206dc164 (diff)
parent1819ad327b7a1f19540a819813b70a0e8a7f798f (diff)
downloadgit-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 'common-main.c')
-rw-r--r--common-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common-main.c b/common-main.c
index c531372f3f..0a22861f1c 100644
--- a/common-main.c
+++ b/common-main.c
@@ -40,6 +40,7 @@ int main(int argc, const char **argv)
git_resolve_executable_dir(argv[0]);
+ setlocale(LC_CTYPE, "");
git_setup_gettext();
initialize_the_repository();