Commit ed95962b2b9df1fbe32748da8ca596ecc818c6ae

Carlos Martín Nieto 2018-05-24T21:58:40

path: hand-code the zero-width joiner as UTF-8

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/tests/path/dotgit.c b/tests/path/dotgit.c
index cad1e25..20e585e 100644
--- a/tests/path/dotgit.c
+++ b/tests/path/dotgit.c
@@ -4,7 +4,11 @@
 static char *gitmodules_altnames[] = {
 	".gitmodules",
 
-	".git\u200cmodules",
+	/*
+	 * Equivalent to the ".git\u200cmodules" string from git but hard-coded
+	 * as a UTF-8 sequence
+	 */
+	".git\xe2\x80\x8cmodules",
 
 	".Gitmodules",
 	".gitmoduleS",