Commit Diff


commit - 2fbdb5aefebc67efda0c651e17b9094d46633d1a
commit + f609be2e6595d866c110e5c9f895db17f761e612
blob - 548c20af49b6c661ceae87626202e65cee99bde8
blob + 461f6ecb0fe1bbb0f4a8a46480962c27c01b456e
--- lib/worktree.c
+++ lib/worktree.c
@@ -379,7 +379,7 @@ got_worktree_get_repo_path(struct got_worktree *worktr
 const char *
 got_worktree_get_path_prefix(struct got_worktree *worktree)
 {
-	return worktree->repo_path;
+	return worktree->path_prefix;
 }
 
 char *