summaryrefslogtreecommitdiff
path: root/tests-clar/checkout/tree.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-30 20:34:50 -0800
committerBen Straub <bs@github.com>2012-11-30 20:34:50 -0800
commit0ab3a2ab2c39a99b7cb3c969fd7b896afcec4885 (patch)
treeab8f3c0aa63a7c27098c12a8b7f049008b396378 /tests-clar/checkout/tree.c
parentc7231c45fecf6c0ae91815a82db7e98c94689497 (diff)
downloadlibgit2-0ab3a2ab2c39a99b7cb3c969fd7b896afcec4885.tar.gz
Deploy GIT_INIT_STRUCTURE
Diffstat (limited to 'tests-clar/checkout/tree.c')
-rw-r--r--tests-clar/checkout/tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests-clar/checkout/tree.c b/tests-clar/checkout/tree.c
index fe5bd4ff8..88dbe4ffc 100644
--- a/tests-clar/checkout/tree.c
+++ b/tests-clar/checkout/tree.c
@@ -2,7 +2,6 @@
#include "git2/checkout.h"
#include "repository.h"
-#include "checkout_util.h"
static git_repository *g_repo;
static git_checkout_opts g_opts;
@@ -12,7 +11,7 @@ void test_checkout_tree__initialize(void)
{
g_repo = cl_git_sandbox_init("testrepo");
- reset_checkout_opts(&g_opts);
+ GIT_INIT_STRUCTURE(&g_opts, GIT_CHECKOUT_OPTS_VERSION);
g_opts.checkout_strategy = GIT_CHECKOUT_SAFE;
}