diff options
author | Ben Straub <bs@github.com> | 2014-01-25 20:04:49 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2014-01-31 03:51:00 +0400 |
commit | 94f263f59be5be74945367b9793c57f297ed4a44 (patch) | |
tree | 18c713d67936fcb23f86794684757dbf01141f21 /tests/clone | |
parent | 8646b0a0689c89d9cad949754885ec542b4d0ce1 (diff) |
Add reflog params to set-head calls
Diffstat (limited to 'tests/clone')
-rw-r--r-- | tests/clone/nonetwork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/clone/nonetwork.c b/tests/clone/nonetwork.c index 3cd5fb7f6..863412cdb 100644 --- a/tests/clone/nonetwork.c +++ b/tests/clone/nonetwork.c @@ -217,7 +217,7 @@ void test_clone_nonetwork__can_detached_head(void) cl_git_pass(git_clone(&g_repo, cl_git_fixture_url("testrepo.git"), "./foo", &g_options)); cl_git_pass(git_revparse_single(&obj, g_repo, "master~1")); - cl_git_pass(git_repository_set_head_detached(g_repo, git_object_id(obj))); + cl_git_pass(git_repository_set_head_detached(g_repo, git_object_id(obj), NULL, NULL)); cl_git_pass(git_clone(&cloned, "./foo", "./foo1", &g_options)); |