summaryrefslogtreecommitdiff
path: root/tests/t12-repo.c
diff options
context:
space:
mode:
authorRomain Geissler <romain.geissler@gmail.com>2011-06-15 12:36:08 +0200
committerRomain Geissler <romain.geissler@gmail.com>2011-06-15 22:11:18 +0200
commit0657e46deef98803058a3c339433a2b6dcafcc13 (patch)
tree58af3fdf2631088e8e9ff7c99bc70558f5f60ca1 /tests/t12-repo.c
parentefcc87c9d95a0b156c657c0e5c11580e7f071efd (diff)
downloadlibgit2-0657e46deef98803058a3c339433a2b6dcafcc13.tar.gz
Fix: GIT_PATH_PATH_SEPARATOR is now a semi-colon under Windows.
GIT_PATH_LIST_SEPARATOR and GIT_PATH_MAX are made public so that it's can be used by a client.
Diffstat (limited to 'tests/t12-repo.c')
-rw-r--r--tests/t12-repo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t12-repo.c b/tests/t12-repo.c
index 47a48b28d..274abf959 100644
--- a/tests/t12-repo.c
+++ b/tests/t12-repo.c
@@ -334,7 +334,7 @@ static int append_ceiling_dir(char *ceiling_dirs, const char *path)
return git__rethrow(error, "Failed to append ceiling directory.");
if (len)
- ceiling_dirs[len] = ':';
+ ceiling_dirs[len] = GIT_PATH_LIST_SEPARATOR;
return GIT_SUCCESS;
}