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 /common-main.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 'common-main.c')
| -rw-r--r-- | common-main.c | 1 |
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(); |
