diff options
| author | Ben Straub <bs@github.com> | 2014-02-04 20:50:40 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2014-02-04 20:50:40 -0800 |
| commit | 010cec3ac26ab8445cc8401fb312f60168916bda (patch) | |
| tree | 813b120670ac04f5c18a5e28546fde36e44ba72c /tests/refs/branches | |
| parent | c3ab1e5af4c43d1031969fbb12c559a55c5baf05 (diff) | |
| download | libgit2-010cec3ac26ab8445cc8401fb312f60168916bda.tar.gz | |
Add reflog params to git_repository_detach_head
Diffstat (limited to 'tests/refs/branches')
| -rw-r--r-- | tests/refs/branches/delete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/refs/branches/delete.c b/tests/refs/branches/delete.c index 7d1d400c8..ed5f1627b 100644 --- a/tests/refs/branches/delete.c +++ b/tests/refs/branches/delete.c @@ -78,7 +78,7 @@ void test_refs_branches_delete__can_delete_a_branch_pointed_at_by_detached_HEAD( git_reference_free(head); /* Detach HEAD and make it target the commit that "master" points to */ - git_repository_detach_head(repo); + git_repository_detach_head(repo, NULL, NULL); cl_git_pass(git_branch_lookup(&branch, repo, "master", GIT_BRANCH_LOCAL)); cl_git_pass(git_branch_delete(branch)); |
