Skip to content

Commit 57e343d

Browse files
committed
path: hand-code the zero-width joiner as UTF-8
1 parent 9e723db commit 57e343d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/path/dotgit.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
static char *gitmodules_altnames[] = {
55
".gitmodules",
66

7-
".git\u200cmodules",
7+
/*
8+
* Equivalent to the ".git\u200cmodules" string from git but hard-coded
9+
* as a UTF-8 sequence
10+
*/
11+
".git\xe2\x80\x8cmodules",
812

913
".Gitmodules",
1014
".gitmoduleS",

0 commit comments

Comments
 (0)