diff options
Diffstat (limited to 'src/worktree.c')
-rw-r--r-- | src/worktree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worktree.c b/src/worktree.c index fe8db7743..1816a6d05 100644 --- a/src/worktree.c +++ b/src/worktree.c @@ -135,7 +135,7 @@ static int open_worktree_dir(git_worktree **out, const char *parent, const char goto out; } - if ((error = git_path_validate_workdir(NULL, dir)) < 0) + if ((error = git_repository_validate_workdir_path(NULL, dir)) < 0) goto out; if ((wt = git__calloc(1, sizeof(*wt))) == NULL) { |