summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-13 15:37:51 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-13 15:37:51 -0700
commitb856ad623e4f686815986c0b9341dd1bfd791e71 (patch)
treeddce49b4afdb7428c1cba49628020bd796704661 /cache.h
parent6a9aa0c9b224517db0549d9252fdbc5177e6c0e2 (diff)
parent76759c7dff53e8c84e975b88cb8245587c14c7ba (diff)
downloadgit-b856ad623e4f686815986c0b9341dd1bfd791e71.tar.gz
Merge branch 'tb/sanitize-decomposed-utf-8-pathname'
Teaches git to normalize pathnames read from readdir(3) and all arguments from the command line into precomposed UTF-8 (assuming that they come as decomposed UTF-8) to work around issues on Mac OS. I think there still are other places that need conversion (e.g. paths that are read from stdin for some commands), but this should be a good first step in the right direction. * tb/sanitize-decomposed-utf-8-pathname: git on Mac OS and precomposed unicode
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index c22b928980..6a1aff5e2a 100644
--- a/cache.h
+++ b/cache.h
@@ -563,6 +563,7 @@ extern int read_replace_refs;
extern int fsync_object_files;
extern int core_preload_index;
extern int core_apply_sparse_checkout;
+extern int precomposed_unicode;
enum branch_track {
BRANCH_TRACK_UNSPECIFIED = -1,