diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-12-23 14:21:23 -0600 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-12-23 14:21:49 -0600 |
commit | 942cfac129b2cffc2668a7d1d7b7b613e4eef19f (patch) | |
tree | b8d4e87ad7c8dadf16be6cd8b9be08bfa176fb5f /tests/worktree | |
parent | f9a98f9442c0b1c22f8212753fda85603fa948e8 (diff) | |
download | libgit2-942cfac129b2cffc2668a7d1d7b7b613e4eef19f.tar.gz |
worktree: checkout options suggestions from code review
Diffstat (limited to 'tests/worktree')
-rw-r--r-- | tests/worktree/worktree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/worktree/worktree.c b/tests/worktree/worktree.c index ccb6cde25..66273d1cb 100644 --- a/tests/worktree/worktree.c +++ b/tests/worktree/worktree.c @@ -300,7 +300,7 @@ void test_worktree_worktree__add_no_checkout(void) git_str path = GIT_STR_INIT; git_worktree_add_options opts = GIT_WORKTREE_ADD_OPTIONS_INIT; - opts.checkout_opts.checkout_strategy = GIT_CHECKOUT_NONE; + opts.checkout_options.checkout_strategy = GIT_CHECKOUT_NONE; cl_git_pass(git_str_joinpath(&path, fixture.repo->workdir, "../worktree-no-checkout")); cl_git_pass(git_worktree_add(&wt, fixture.repo, "worktree-no-checkout", path.ptr, &opts)); |