summaryrefslogtreecommitdiff
path: root/tests/worktree/submodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/worktree/submodule.c')
-rw-r--r--tests/worktree/submodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/worktree/submodule.c b/tests/worktree/submodule.c
index 562077597..294385226 100644
--- a/tests/worktree/submodule.c
+++ b/tests/worktree/submodule.c
@@ -74,7 +74,7 @@ void test_worktree_submodule__resolve_relative_url(void)
cl_git_pass(git_repository_open(&child.repo, WORKTREE_CHILD));
/* Create worktree of submodule repository */
- cl_git_pass(git_worktree_add(&wt, child.repo, "subdir", wt_path.ptr));
+ cl_git_pass(git_worktree_add(&wt, child.repo, "subdir", wt_path.ptr, NULL));
cl_git_pass(git_repository_open_from_worktree(&repo, wt));
cl_git_pass(git_submodule_resolve_url(&sm_relative_path, repo,