fix got_worktree_get_repo_path()
diff --git a/lib/worktree.c b/lib/worktree.c
index 548c20a..461f6ec 100644
--- a/lib/worktree.c
+++ b/lib/worktree.c
@@ -379,7 +379,7 @@ got_worktree_get_repo_path(struct got_worktree *worktree)
const char *
got_worktree_get_path_prefix(struct got_worktree *worktree)
{
- return worktree->repo_path;
+ return worktree->path_prefix;
}
char *