Commit f609be2e6595d866c110e5c9f895db17f761e612

Stefan Sperling 2018-12-29T15:55:44

fix got_worktree_get_repo_path()

1
2
3
4
5
6
7
8
9
10
11
12
13
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 *