diff options
| author | Junio C Hamano <gitster@pobox.com> | 2021-04-13 15:28:51 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-04-13 15:28:51 -0700 |
| commit | 4c6ac2da2c1da66a3fba429aa983e481c41fa1d0 (patch) | |
| tree | 2287064be5533324cc3d90ae5ceadee1cfe97412 /compat/precompose_utf8.h | |
| parent | Merge branch 'fm/user-manual-use-preface' (diff) | |
| parent | macOS: precompose startup_info->prefix (diff) | |
| download | git-4c6ac2da2c1da66a3fba429aa983e481c41fa1d0.tar.gz git-4c6ac2da2c1da66a3fba429aa983e481c41fa1d0.zip | |
Merge branch 'tb/precompose-prefix-simplify'
Streamline the codepath to fix the UTF-8 encoding issues in the
argv[] and the prefix on macOS.
* tb/precompose-prefix-simplify:
macOS: precompose startup_info->prefix
precompose_utf8: make precompose_string_if_needed() public
Diffstat (limited to 'compat/precompose_utf8.h')
| -rw-r--r-- | compat/precompose_utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/precompose_utf8.h b/compat/precompose_utf8.h index d70b84665c..fea06cf28a 100644 --- a/compat/precompose_utf8.h +++ b/compat/precompose_utf8.h @@ -29,6 +29,7 @@ typedef struct { } PREC_DIR; const char *precompose_argv_prefix(int argc, const char **argv, const char *prefix); +const char *precompose_string_if_needed(const char *in); void probe_utf8_pathname_composition(void); PREC_DIR *precompose_utf8_opendir(const char *dirname); |
