summaryrefslogtreecommitdiff
path: root/tests/refs/branches
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-02-04 20:50:40 -0800
committerBen Straub <bs@github.com>2014-02-04 20:50:40 -0800
commit010cec3ac26ab8445cc8401fb312f60168916bda (patch)
tree813b120670ac04f5c18a5e28546fde36e44ba72c /tests/refs/branches
parentc3ab1e5af4c43d1031969fbb12c559a55c5baf05 (diff)
downloadlibgit2-010cec3ac26ab8445cc8401fb312f60168916bda.tar.gz
Add reflog params to git_repository_detach_head
Diffstat (limited to 'tests/refs/branches')
-rw-r--r--tests/refs/branches/delete.c2
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));