diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-01-15 16:50:31 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-03 14:40:50 +0100 |
| commit | 4e498646b6e4f3e6303cd3a27682dcd10d97eaeb (patch) | |
| tree | cab3a87c8845f549d9355a505df665a57ed4f4b3 /tests/refs | |
| parent | 412a3808889de65d8f94f22502aba10b9afbf755 (diff) | |
| download | libgit2-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.c | 2 |
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)); |
