diff options
| author | Ben Straub <bs@github.com> | 2013-01-02 13:43:54 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2013-01-02 13:43:54 -0800 |
| commit | 730df6d0f70a343ade75ef9411fe0435b0afd5a9 (patch) | |
| tree | 04ee3bdda17825ae87882dc578073304df2703a7 /tests-clar/clone/nonetwork.c | |
| parent | c07b52df1b2d0d89c5fc1b2eae9dbf99e6571fe1 (diff) | |
| download | libgit2-730df6d0f70a343ade75ef9411fe0435b0afd5a9.tar.gz | |
Include checkout options inline
Diffstat (limited to 'tests-clar/clone/nonetwork.c')
| -rw-r--r-- | tests-clar/clone/nonetwork.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests-clar/clone/nonetwork.c b/tests-clar/clone/nonetwork.c index 919680317..51fedabb3 100644 --- a/tests-clar/clone/nonetwork.c +++ b/tests-clar/clone/nonetwork.c @@ -10,10 +10,14 @@ static git_repository *g_repo; void test_clone_nonetwork__initialize(void) { + git_checkout_opts dummy_opts = GIT_CHECKOUT_OPTS_INIT; + g_repo = NULL; memset(&g_options, 0, sizeof(git_clone_options)); g_options.version = GIT_CLONE_OPTIONS_VERSION; + g_options.checkout_opts = dummy_opts; + g_options.checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE; } static void cleanup_repository(void *path) |
