diff options
author | Torsten Bögershausen <tboegi@web.de> | 2018-04-30 08:35:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 07:52:32 +0900 |
commit | 742ae10e355041bb19b8d3d530453136e2a8eff2 (patch) | |
tree | 9293a3072a79ad03b616cafbfef443cf5f4eb662 /contrib/stats/git-common-hash | |
parent | Git 2.14.3 (diff) | |
download | tgif-742ae10e355041bb19b8d3d530453136e2a8eff2.tar.xz |
test: correct detection of UTF8_NFD_TO_NFC for APFS
On HFS (which is the default Mac filesystem prior to High Sierra),
unicode names are "decomposed" before recording.
On APFS, which appears to be the new default filesystem in Mac OS High
Sierra, filenames are recorded as specified by the user.
APFS continues to allow the user to access it via any name
that normalizes to the same thing.
This difference causes t0050-filesystem.sh to fail two tests.
Improve the test for a NFD/NFC in test-lib.sh:
Test if the same file can be reached in pre- and decomposed unicode.
Reported-By: Elijah Newren <newren@gmail.com>
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Tested-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/stats/git-common-hash')
0 files changed, 0 insertions, 0 deletions