diff options
| author | Ben Straub <bs@github.com> | 2012-11-30 20:34:50 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-11-30 20:34:50 -0800 |
| commit | 0ab3a2ab2c39a99b7cb3c969fd7b896afcec4885 (patch) | |
| tree | ab8f3c0aa63a7c27098c12a8b7f049008b396378 /tests-clar/checkout/tree.c | |
| parent | c7231c45fecf6c0ae91815a82db7e98c94689497 (diff) | |
| download | libgit2-0ab3a2ab2c39a99b7cb3c969fd7b896afcec4885.tar.gz | |
Deploy GIT_INIT_STRUCTURE
Diffstat (limited to 'tests-clar/checkout/tree.c')
| -rw-r--r-- | tests-clar/checkout/tree.c | 3 |
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; } |
