summaryrefslogtreecommitdiff
path: root/tests/refs
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-01-15 16:50:31 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-03 14:40:50 +0100
commit4e498646b6e4f3e6303cd3a27682dcd10d97eaeb (patch)
treecab3a87c8845f549d9355a505df665a57ed4f4b3 /tests/refs
parent412a3808889de65d8f94f22502aba10b9afbf755 (diff)
downloadlibgit2-4e498646b6e4f3e6303cd3a27682dcd10d97eaeb.tar.gz
repository: remove log message override for switching the active branch
We want to use the "checkout: moving from ..." message in order to let git know when a change of branch has happened. Make the convenience functions for this goal write this message.
Diffstat (limited to 'tests/refs')
-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 c52c45b24..343ff0f50 100644
--- a/tests/refs/branches/delete.c
+++ b/tests/refs/branches/delete.c
@@ -75,7 +75,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, NULL);
+ git_repository_detach_head(repo);
cl_git_pass(git_branch_lookup(&branch, repo, "master", GIT_BRANCH_LOCAL));
cl_git_pass(git_branch_delete(branch));