diff options
author | Carlos MartÃn Nieto <cmn@dwim.me> | 2018-05-24 21:58:40 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-06-01 13:44:32 +0200 |
commit | ea55c77cf879016656627d5a4f652672667707af (patch) | |
tree | be552599ae5264be4d46dc0a7758909b5b8e02da | |
parent | 95a0ab897373fc363d2f8aa09d81227b26f8ad99 (diff) | |
download | libgit2-ea55c77cf879016656627d5a4f652672667707af.tar.gz |
path: hand-code the zero-width joiner as UTF-8
-rw-r--r-- | tests/path/dotgit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/path/dotgit.c b/tests/path/dotgit.c index cad1e2586..20e585edb 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", |