summaryrefslogtreecommitdiff
path: root/tests/odb/alternates.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 15:20:50 -0500
committerGitHub <noreply@github.com>2021-11-11 15:20:50 -0500
commitceddeed80a21f0d3a3396d90dd61fada361ed745 (patch)
tree1b21dd455b3fbffcd4d5da52f5e8a58785510dd4 /tests/odb/alternates.c
parent9ab351c0d5330106b5562524cd303cbd5789a1d8 (diff)
parent1a8b2922d953e78bd51fc6d5ef290e1f7e00af3a (diff)
downloadlibgit2-ceddeed80a21f0d3a3396d90dd61fada361ed745.tar.gz
Merge pull request #6104 from libgit2/ethomson/path
path: refactor utility path functions
Diffstat (limited to 'tests/odb/alternates.c')
-rw-r--r--tests/odb/alternates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/odb/alternates.c b/tests/odb/alternates.c
index e36010b75..6c00fda2f 100644
--- a/tests/odb/alternates.c
+++ b/tests/odb/alternates.c
@@ -26,7 +26,7 @@ static void init_linked_repo(const char *path, const char *alternate)
git_str_clear(&filepath);
cl_git_pass(git_repository_init(&repo, path, 1));
- cl_git_pass(git_path_prettify(&destpath, alternate, NULL));
+ cl_git_pass(git_fs_path_prettify(&destpath, alternate, NULL));
cl_git_pass(git_str_joinpath(&destpath, destpath.ptr, "objects"));
cl_git_pass(git_str_joinpath(&filepath, git_repository_path(repo), "objects/info"));
cl_git_pass(git_futils_mkdir(filepath.ptr, 0755, GIT_MKDIR_PATH));