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/clone/nonetwork.c | |
| 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/clone/nonetwork.c')
| -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 f62966247..46b36ed92 100644 --- a/tests/clone/nonetwork.c +++ b/tests/clone/nonetwork.c @@ -230,7 +230,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), NULL)); + cl_git_pass(git_repository_set_head_detached(g_repo, git_object_id(obj))); cl_git_pass(git_clone(&cloned, "./foo", "./foo1", &g_options)); |
