checkout-index: fix --temp relative path mangling
[gitweb.git] / t / test-lib.sh
index c081668dfe16c85dda29bace564f7c1c3da77cb0..e0266f03570ad969ac0d82230b1be75c9ab3ff2b 100644 (file)
@@ -164,7 +164,11 @@ _z40=0000000000000000000000000000000000000000
 LF='
 '
 
-export _x05 _x40 _z40 LF
+# UTF-8 ZERO WIDTH NON-JOINER, which HFS+ ignores
+# when case-folding filenames
+u200c=$(printf '\342\200\214')
+
+export _x05 _x40 _z40 LF u200c
 
 # Each test should start with something like this, after copyright notices:
 #