summaryrefslogtreecommitdiff
path: root/tests-clar/clone/empty.c
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-10-02 05:56:37 -0700
committerVicent Martí <vicent@github.com>2013-10-02 05:56:37 -0700
commit5bfead1dba919f6b47f52da675ea94407e8baf49 (patch)
tree4b879238df61eccc2f048fe51e10fce421967e26 /tests-clar/clone/empty.c
parent71e33d2649f990086237a6cd0fdb7f7d6f742b51 (diff)
parent0e0cf78773bea0d06298ba3bf981a3be839041df (diff)
downloadlibgit2-5bfead1dba919f6b47f52da675ea94407e8baf49.tar.gz
Merge pull request #1855 from libgit2/cmn/clone-into
An alternative for 'clone' with options
Diffstat (limited to 'tests-clar/clone/empty.c')
-rw-r--r--tests-clar/clone/empty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/clone/empty.c b/tests-clar/clone/empty.c
index d9dc24fde..6d19244cc 100644
--- a/tests-clar/clone/empty.c
+++ b/tests-clar/clone/empty.c
@@ -10,12 +10,14 @@ static git_repository *g_repo_cloned;
void test_clone_empty__initialize(void)
{
git_repository *sandbox = cl_git_sandbox_init("empty_bare.git");
+ git_remote_callbacks dummy_callbacks = GIT_REMOTE_CALLBACKS_INIT;
cl_git_remove_placeholders(git_repository_path(sandbox), "dummy-marker.txt");
g_repo = NULL;
memset(&g_options, 0, sizeof(git_clone_options));
g_options.version = GIT_CLONE_OPTIONS_VERSION;
+ g_options.remote_callbacks = dummy_callbacks;
}
void test_clone_empty__cleanup(void)